;************************************************************************************************
;eqbuttonslib.iss version 20100215w
;Include file for eqisbuttons.iss
;Repetative functions go here as they are converted from the main script file
;************************************************************************************************

;************************************************************************************************
;configure tab 1
;************************************************************************************************

function xmltab1set()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlbuttonlabel:Insert[${uxmlbuttontext1}]
xmlbuttonlabel:Insert[${uxmlbuttontext2}]
xmlbuttonlabel:Insert[${uxmlbuttontext3}]
xmlbuttonlabel:Insert[${uxmlbuttontext4}]
xmlbuttonlabel:Insert[${uxmlbuttontext5}]
xmlbuttonlabel:Insert[${uxmlbuttontext6}]
xmlbuttonlabel:Insert[${uxmlbuttontext7}]
xmlbuttonlabel:Insert[${uxmlbuttontext8}]
xmlbuttonlabel:Insert[${uxmlbuttontext9}]
xmlbuttonlabel:Insert[${uxmlbuttontext10}]
xmlbuttonlabel:Insert[${uxmlbuttontext11}]
xmlbuttonlabel:Insert[${uxmlbuttontext12}]
xmlbuttonlabel:Insert[${uxmlbuttontext13}]
xmlbuttonlabel:Insert[${uxmlbuttontext14}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetName[Arial]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
	if ${xmlmybuttonhide[${Countbuttons}]} == TRUE
		{
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:ToggleVisible
		}
	}
}

;************************************************************************************************
;configure tab 2
;************************************************************************************************

function xmltab2set()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel:Insert[${uxmlbuttontext15}]
xmlbuttonlabel:Insert[${uxmlbuttontext16}]
xmlbuttonlabel:Insert[${uxmlbuttontext17}]
xmlbuttonlabel:Insert[${uxmlbuttontext18}]
xmlbuttonlabel:Insert[${uxmlbuttontext19}]
xmlbuttonlabel:Insert[${uxmlbuttontext20}]
xmlbuttonlabel:Insert[${uxmlbuttontext21}]
xmlbuttonlabel:Insert[${uxmlbuttontext22}]
xmlbuttonlabel:Insert[${uxmlbuttontext23}]
xmlbuttonlabel:Insert[${uxmlbuttontext24}]
xmlbuttonlabel:Insert[${uxmlbuttontext25}]
xmlbuttonlabel:Insert[${uxmlbuttontext26}]
xmlbuttonlabel:Insert[${uxmlbuttontext27}]
xmlbuttonlabel:Insert[${uxmlbuttontext28}]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]

variable int Countbuttons
for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetName[Arial]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
	if ${xmlmybuttonhide[${Countbuttons}]} == TRUE
	{
		UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:ToggleVisible
	}
	}
}

;************************************************************************************************
;configure tab3
;************************************************************************************************

function xmltab3set()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
xmlbuttonlabel:Insert[${uxmlbuttontext29}]
xmlbuttonlabel:Insert[${uxmlbuttontext30}]
xmlbuttonlabel:Insert[${uxmlbuttontext31}]
xmlbuttonlabel:Insert[${uxmlbuttontext32}]
xmlbuttonlabel:Insert[${uxmlbuttontext33}]
xmlbuttonlabel:Insert[${uxmlbuttontext34}]
xmlbuttonlabel:Insert[${uxmlbuttontext35}]
xmlbuttonlabel:Insert[${uxmlbuttontext36}]
xmlbuttonlabel:Insert[${uxmlbuttontext37}]
xmlbuttonlabel:Insert[${uxmlbuttontext38}]
xmlbuttonlabel:Insert[${uxmlbuttontext39}]
xmlbuttonlabel:Insert[${uxmlbuttontext40}]
xmlbuttonlabel:Insert[${uxmlbuttontext41}]
xmlbuttonlabel:Insert[${uxmlbuttontext42}]
xmlbuttonnumber:Insert[xmlbutton29]
xmlbuttonnumber:Insert[xmlbutton30]
xmlbuttonnumber:Insert[xmlbutton31]
xmlbuttonnumber:Insert[xmlbutton32]
xmlbuttonnumber:Insert[xmlbutton33]
xmlbuttonnumber:Insert[xmlbutton34]
xmlbuttonnumber:Insert[xmlbutton35]
xmlbuttonnumber:Insert[xmlbutton36]
xmlbuttonnumber:Insert[xmlbutton37]
xmlbuttonnumber:Insert[xmlbutton38]
xmlbuttonnumber:Insert[xmlbutton39]
xmlbuttonnumber:Insert[xmlbutton40]
xmlbuttonnumber:Insert[xmlbutton41]
xmlbuttonnumber:Insert[xmlbutton42]
xmlbuttoncolory:Insert[${yxmlcolor29}]
xmlbuttoncolory:Insert[${yxmlcolor30}]
xmlbuttoncolory:Insert[${yxmlcolor31}]
xmlbuttoncolory:Insert[${yxmlcolor32}]
xmlbuttoncolory:Insert[${yxmlcolor33}]
xmlbuttoncolory:Insert[${yxmlcolor34}]
xmlbuttoncolory:Insert[${yxmlcolor35}]
xmlbuttoncolory:Insert[${yxmlcolor36}]
xmlbuttoncolory:Insert[${yxmlcolor37}]
xmlbuttoncolory:Insert[${yxmlcolor38}]
xmlbuttoncolory:Insert[${yxmlcolor39}]
xmlbuttoncolory:Insert[${yxmlcolor40}]
xmlbuttoncolory:Insert[${yxmlcolor41}]
xmlbuttoncolory:Insert[${yxmlcolor42}]

variable int Countbuttons
for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab3}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab3}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab3}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
	}
}

;************************************************************************************************
;configure tabs
;************************************************************************************************

function xmltabsetupset()
{
variable index:string buttonnumber

buttonnumber:Insert[button1]
buttonnumber:Insert[button2]
buttonnumber:Insert[button3]
buttonnumber:Insert[button4]
buttonnumber:Insert[button5]
buttonnumber:Insert[button6]
buttonnumber:Insert[button7]
buttonnumber:Insert[button8]
buttonnumber:Insert[button9]
buttonnumber:Insert[button10]
buttonnumber:Insert[button11]
buttonnumber:Insert[button12]
buttonnumber:Insert[button13]
buttonnumber:Insert[button14]
buttonnumber:Insert[button15]
buttonnumber:Insert[button16]
buttonnumber:Insert[button17]
buttonnumber:Insert[button18]
buttonnumber:Insert[button19]
buttonnumber:Insert[button20]
buttonnumber:Insert[button21]
buttonnumber:Insert[button22]
buttonnumber:Insert[button23]
buttonnumber:Insert[button24]
buttonnumber:Insert[button25]
buttonnumber:Insert[button26]
buttonnumber:Insert[button27]
buttonnumber:Insert[button28]
buttonnumber:Insert[button29]
buttonnumber:Insert[button30]
buttonnumber:Insert[button31]
buttonnumber:Insert[button32]
buttonnumber:Insert[button33]
buttonnumber:Insert[button34]
buttonnumber:Insert[button35]
buttonnumber:Insert[button36]
buttonnumber:Insert[button37]
buttonnumber:Insert[button38]
buttonnumber:Insert[button39]
buttonnumber:Insert[button40]
buttonnumber:Insert[button41]
buttonnumber:Insert[button42]

variable int Countbuttons
for (Countbuttons:Set[0] ; ${Countbuttons}<=42 ; Countbuttons:Inc)
	{
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[Setup}].FindChild[${buttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[Setup}].FindChild[${buttonnumber[${Countbuttons}]}].Font:SetName[Arial]
	}
}

;************************************************************************************************
;tab1 button/toggle state
;************************************************************************************************

function settab1togglesonrefresh()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string Txmlbuttonnumber
variable index:bool exmlbuttonnumber
variable index:bool Txmlbuttonstate
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:string xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlbuttonlabel:Insert[${uxmlbuttontext1a}]
xmlbuttonlabel:Insert[${uxmlbuttontext2a}]
xmlbuttonlabel:Insert[${uxmlbuttontext3a}]
xmlbuttonlabel:Insert[${uxmlbuttontext4a}]
xmlbuttonlabel:Insert[${uxmlbuttontext5a}]
xmlbuttonlabel:Insert[${uxmlbuttontext6a}]
xmlbuttonlabel:Insert[${uxmlbuttontext7a}]
xmlbuttonlabel:Insert[${uxmlbuttontext8a}]
xmlbuttonlabel:Insert[${uxmlbuttontext9a}]
xmlbuttonlabel:Insert[${uxmlbuttontext10a}]
xmlbuttonlabel:Insert[${uxmlbuttontext11a}]
xmlbuttonlabel:Insert[${uxmlbuttontext12a}]
xmlbuttonlabel:Insert[${uxmlbuttontext13a}]
xmlbuttonlabel:Insert[${uxmlbuttontext14a}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
exmlbuttonnumber:Insert[${exmlbutton1}]
exmlbuttonnumber:Insert[${exmlbutton2}]
exmlbuttonnumber:Insert[${exmlbutton3}]
exmlbuttonnumber:Insert[${exmlbutton4}]
exmlbuttonnumber:Insert[${exmlbutton5}]
exmlbuttonnumber:Insert[${exmlbutton6}]
exmlbuttonnumber:Insert[${exmlbutton7}]
exmlbuttonnumber:Insert[${exmlbutton8}]
exmlbuttonnumber:Insert[${exmlbutton9}]
exmlbuttonnumber:Insert[${exmlbutton10}]
exmlbuttonnumber:Insert[${exmlbutton11}]
exmlbuttonnumber:Insert[${exmlbutton12}]
exmlbuttonnumber:Insert[${exmlbutton13}]
exmlbuttonnumber:Insert[${exmlbutton14}]
Txmlbuttonstate:Insert[${Txmlbutton1}]
Txmlbuttonstate:Insert[${Txmlbutton2}]
Txmlbuttonstate:Insert[${Txmlbutton3}]
Txmlbuttonstate:Insert[${Txmlbutton4}]
Txmlbuttonstate:Insert[${Txmlbutton5}]
Txmlbuttonstate:Insert[${Txmlbutton6}]
Txmlbuttonstate:Insert[${Txmlbutton7}]
Txmlbuttonstate:Insert[${Txmlbutton8}]
Txmlbuttonstate:Insert[${Txmlbutton9}]
Txmlbuttonstate:Insert[${Txmlbutton10}]
Txmlbuttonstate:Insert[${Txmlbutton11}]
Txmlbuttonstate:Insert[${Txmlbutton12}]
Txmlbuttonstate:Insert[${Txmlbutton13}]
Txmlbuttonstate:Insert[${Txmlbutton14}]
Txmlbuttonnumber:Insert[Txmlbutton1]
Txmlbuttonnumber:Insert[Txmlbutton2]
Txmlbuttonnumber:Insert[Txmlbutton3]
Txmlbuttonnumber:Insert[Txmlbutton4]
Txmlbuttonnumber:Insert[Txmlbutton5]
Txmlbuttonnumber:Insert[Txmlbutton6]
Txmlbuttonnumber:Insert[Txmlbutton7]
Txmlbuttonnumber:Insert[Txmlbutton8]
Txmlbuttonnumber:Insert[Txmlbutton9]
Txmlbuttonnumber:Insert[Txmlbutton10]
Txmlbuttonnumber:Insert[Txmlbutton11]
Txmlbuttonnumber:Insert[Txmlbutton12]
Txmlbuttonnumber:Insert[Txmlbutton13]
Txmlbuttonnumber:Insert[Txmlbutton14]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	if ${exmlbuttonnumber[${Countbuttons}]} == TRUE
		{
		if ${Txmlbuttonstate[${Countbuttons}]} == TRUE
		{
			${Txmlbuttonnumber[${Countbuttons}]}:Set[TRUE]
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolorz[${Countbuttons}]}]
		}
		else
		{
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab1}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
		}
		}
	}
}

;************************************************************************************************
;tab2 button toggle state
;************************************************************************************************

function settab2togglesonrefresh()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string Txmlbuttonnumber
variable index:bool exmlbuttonnumber
variable index:bool Txmlbuttonstate
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel:Insert[${uxmlbuttontext28a}]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
exmlbuttonnumber:Insert[${exmlbutton15}]
exmlbuttonnumber:Insert[${exmlbutton16}]
exmlbuttonnumber:Insert[${exmlbutton17}]
exmlbuttonnumber:Insert[${exmlbutton18}]
exmlbuttonnumber:Insert[${exmlbutton19}]
exmlbuttonnumber:Insert[${exmlbutton20}]
exmlbuttonnumber:Insert[${exmlbutton21}]
exmlbuttonnumber:Insert[${exmlbutton22}]
exmlbuttonnumber:Insert[${exmlbutton23}]
exmlbuttonnumber:Insert[${exmlbutton24}]
exmlbuttonnumber:Insert[${exmlbutton25}]
exmlbuttonnumber:Insert[${exmlbutton26}]
exmlbuttonnumber:Insert[${exmlbutton27}]
exmlbuttonnumber:Insert[${exmlbutton28}]
Txmlbuttonstate:Insert[${Txmlbutton15}]
Txmlbuttonstate:Insert[${Txmlbutton16}]
Txmlbuttonstate:Insert[${Txmlbutton17}]
Txmlbuttonstate:Insert[${Txmlbutton18}]
Txmlbuttonstate:Insert[${Txmlbutton19}]
Txmlbuttonstate:Insert[${Txmlbutton20}]
Txmlbuttonstate:Insert[${Txmlbutton21}]
Txmlbuttonstate:Insert[${Txmlbutton22}]
Txmlbuttonstate:Insert[${Txmlbutton23}]
Txmlbuttonstate:Insert[${Txmlbutton24}]
Txmlbuttonstate:Insert[${Txmlbutton25}]
Txmlbuttonstate:Insert[${Txmlbutton26}]
Txmlbuttonstate:Insert[${Txmlbutton27}]
Txmlbuttonstate:Insert[${Txmlbutton28}]
Txmlbuttonnumber:Insert[Txmlbutton15]
Txmlbuttonnumber:Insert[Txmlbutton16]
Txmlbuttonnumber:Insert[Txmlbutton17]
Txmlbuttonnumber:Insert[Txmlbutton18]
Txmlbuttonnumber:Insert[Txmlbutton19]
Txmlbuttonnumber:Insert[Txmlbutton20]
Txmlbuttonnumber:Insert[Txmlbutton21]
Txmlbuttonnumber:Insert[Txmlbutton22]
Txmlbuttonnumber:Insert[Txmlbutton23]
Txmlbuttonnumber:Insert[Txmlbutton24]
Txmlbuttonnumber:Insert[Txmlbutton25]
Txmlbuttonnumber:Insert[Txmlbutton26]
Txmlbuttonnumber:Insert[Txmlbutton27]
Txmlbuttonnumber:Insert[Txmlbutton28]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	if ${exmlbuttonnumber[${Countbuttons}]} == TRUE
		{
		if ${Txmlbuttonstate[${Countbuttons}]} == TRUE
		{
			${Txmlbuttonnumber[${Countbuttons}]}:Set[TRUE]
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolorz[${Countbuttons}]}]
		}
		else
		{
			UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${xmltab2}].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
		}
		}
	}
}

;************************************************************************************************
;perform button/toggle actions
;************************************************************************************************

function domykeyactions()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string Txmlbuttonnumber
variable index:bool exmlbuttonnumber
variable index:bool Txmlbuttonstate
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
xmlbuttonlabel:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel:Insert[${uxmlbuttontext28a}]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
exmlbuttonnumber:Insert[${exmlbutton15}]
exmlbuttonnumber:Insert[${exmlbutton16}]
exmlbuttonnumber:Insert[${exmlbutton17}]
exmlbuttonnumber:Insert[${exmlbutton18}]
exmlbuttonnumber:Insert[${exmlbutton19}]
exmlbuttonnumber:Insert[${exmlbutton20}]
exmlbuttonnumber:Insert[${exmlbutton21}]
exmlbuttonnumber:Insert[${exmlbutton22}]
exmlbuttonnumber:Insert[${exmlbutton23}]
exmlbuttonnumber:Insert[${exmlbutton24}]
exmlbuttonnumber:Insert[${exmlbutton25}]
exmlbuttonnumber:Insert[${exmlbutton26}]
exmlbuttonnumber:Insert[${exmlbutton27}]
exmlbuttonnumber:Insert[${exmlbutton28}]
Txmlbuttonstate:Insert[${Txmlbutton15}]
Txmlbuttonstate:Insert[${Txmlbutton16}]
Txmlbuttonstate:Insert[${Txmlbutton17}]
Txmlbuttonstate:Insert[${Txmlbutton18}]
Txmlbuttonstate:Insert[${Txmlbutton19}]
Txmlbuttonstate:Insert[${Txmlbutton20}]
Txmlbuttonstate:Insert[${Txmlbutton21}]
Txmlbuttonstate:Insert[${Txmlbutton22}]
Txmlbuttonstate:Insert[${Txmlbutton23}]
Txmlbuttonstate:Insert[${Txmlbutton24}]
Txmlbuttonstate:Insert[${Txmlbutton25}]
Txmlbuttonstate:Insert[${Txmlbutton26}]
Txmlbuttonstate:Insert[${Txmlbutton27}]
Txmlbuttonstate:Insert[${Txmlbutton28}]
Txmlbuttonnumber:Insert[Txmlbutton15]
Txmlbuttonnumber:Insert[Txmlbutton16]
Txmlbuttonnumber:Insert[Txmlbutton17]
Txmlbuttonnumber:Insert[Txmlbutton18]
Txmlbuttonnumber:Insert[Txmlbutton19]
Txmlbuttonnumber:Insert[Txmlbutton20]
Txmlbuttonnumber:Insert[Txmlbutton21]
Txmlbuttonnumber:Insert[Txmlbutton22]
Txmlbuttonnumber:Insert[Txmlbutton23]
Txmlbuttonnumber:Insert[Txmlbutton24]
Txmlbuttonnumber:Insert[Txmlbutton25]
Txmlbuttonnumber:Insert[Txmlbutton26]
Txmlbuttonnumber:Insert[Txmlbutton27]
Txmlbuttonnumber:Insert[Txmlbutton28]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]

	{
		if ${mybuttonstoredtoggle.Get[${ibethis}]} !=  FALSE
		{
			if ${mybuttontoggle.Get[${ibethis}]} == FALSE
				{
					${mybuttontoggle.Get[${ibethis}]}:Set[TRUE]
					UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${mybuttontab.Get[${ibethis}]}].FindChild[${mybuttonname.Get[${ibethis}]}]:SetText[${mybuttonlabel.Get[${ibethis}]}]		
					UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${mybuttontab.Get[${ibethis}]}].FindChild[${mybuttonname.Get[${ibethis}]}].Font:SetColor[${xmlbuttoncolorz.Get[${ibethis}]}]
					Press ${mybuttonactiona.Get[${ibethis}]}
				}
			else
				{
					${mybuttontoggle}:Set[FALSE]
					UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${mybuttontab.Get[${ibethis}]}].FindChild[${mybuttonname.Get[${ibethis}]}]:SetText[${mybuttonlabel.Get[${ibethis}]}]		
					UIElement[${WINDOWELEMENT}].FindChild[${TABCONTROLELEMENT}].FindChild[${mybuttontab.Get[${ibethis}]}].FindChild[${mybuttonname.Get[${ibethis}]}].Font:SetColor[${xmlbuttoncolory.Get[${ibethis}]}]
					Press ${mybuttonaction.Get[${ibethis}]}
				}
		}		
		else
		{
			Press ${mybuttonaction.Get[${ibethis}]}
		}
	}
}

;************************************************************************************************
;configure button/toggle actions
;************************************************************************************************

function buttonquery()
{
variable index:string xmlbuttoneqbc
variable index:string xmlbuttoneqbc2
variable index:string xmlbuttonlabel
variable index:string xmlbuttonlabel2
variable index:string xmlbuttonkeycombo
variable index:string xmlbuttonkeycombo2
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:string xmlmybuttonhide
variable index:string xmlbuttoneqbc99
variable index:string xmlbuttoneqbc299
variable index:string xmlbuttonlabel99
variable index:string xmlbuttonlabel299
variable index:string xmlbuttonkeycombo99
variable index:string xmlbuttonkeycombo299
variable index:string xmlbuttonnumber99
variable index:string exmlbuttonnumber99
variable index:string xmlbuttoncolory99
variable index:string xmlbuttoncolorz99
variable index:string xmlmybuttonhide99

xmlbuttoneqbc:Insert[${mypress1action1}]
xmlbuttoneqbc:Insert[${mypress1action2}]
xmlbuttoneqbc:Insert[${mypress1action3}]
xmlbuttoneqbc:Insert[${mypress1action4}]
xmlbuttoneqbc:Insert[${mypress1action5}]
xmlbuttoneqbc:Insert[${mypress1action6}]
xmlbuttoneqbc:Insert[${mypress1action7}]
xmlbuttoneqbc:Insert[${mypress1action8}]
xmlbuttoneqbc:Insert[${mypress1action9}]
xmlbuttoneqbc:Insert[${mypress1action10}]
xmlbuttoneqbc:Insert[${mypress1action11}]
xmlbuttoneqbc:Insert[${mypress1action12}]
xmlbuttoneqbc:Insert[${mypress1action13}]
xmlbuttoneqbc:Insert[${mypress1action14}]
xmlbuttoneqbc:Insert[${mypress1action15}]
xmlbuttoneqbc:Insert[${mypress1action16}]
xmlbuttoneqbc:Insert[${mypress1action17}]
xmlbuttoneqbc:Insert[${mypress1action18}]
xmlbuttoneqbc:Insert[${mypress1action19}]
xmlbuttoneqbc:Insert[${mypress1action20}]
xmlbuttoneqbc:Insert[${mypress1action21}]
xmlbuttoneqbc:Insert[${mypress1action22}]
xmlbuttoneqbc:Insert[${mypress1action23}]
xmlbuttoneqbc:Insert[${mypress1action24}]
xmlbuttoneqbc:Insert[${mypress1action25}]
xmlbuttoneqbc:Insert[${mypress1action26}]
xmlbuttoneqbc:Insert[${mypress1action27}]
xmlbuttoneqbc:Insert[${mypress1action28}]
xmlbuttoneqbc2:Insert[${mypress2action1}]
xmlbuttoneqbc2:Insert[${mypress2action2}]
xmlbuttoneqbc2:Insert[${mypress2action3}]
xmlbuttoneqbc2:Insert[${mypress2action4}]
xmlbuttoneqbc2:Insert[${mypress2action5}]
xmlbuttoneqbc2:Insert[${mypress2action6}]
xmlbuttoneqbc2:Insert[${mypress2action7}]
xmlbuttoneqbc2:Insert[${mypress2action8}]
xmlbuttoneqbc2:Insert[${mypress2action9}]
xmlbuttoneqbc2:Insert[${mypress2action10}]
xmlbuttoneqbc2:Insert[${mypress2action11}]
xmlbuttoneqbc2:Insert[${mypress2action12}]
xmlbuttoneqbc2:Insert[${mypress2action13}]
xmlbuttoneqbc2:Insert[${mypress2action14}]
xmlbuttoneqbc2:Insert[${mypress2action15}]
xmlbuttoneqbc2:Insert[${mypress2action16}]
xmlbuttoneqbc2:Insert[${mypress2action17}]
xmlbuttoneqbc2:Insert[${mypress2action18}]
xmlbuttoneqbc2:Insert[${mypress2action19}]
xmlbuttoneqbc2:Insert[${mypress2action20}]
xmlbuttoneqbc2:Insert[${mypress2action21}]
xmlbuttoneqbc2:Insert[${mypress2action22}]
xmlbuttoneqbc2:Insert[${mypress2action23}]
xmlbuttoneqbc2:Insert[${mypress2action24}]
xmlbuttoneqbc2:Insert[${mypress2action25}]
xmlbuttoneqbc2:Insert[${mypress2action26}]
xmlbuttoneqbc2:Insert[${mypress2action27}]
xmlbuttoneqbc2:Insert[${mypress2action28}]
xmlbuttonkeycombo:Insert[${vxmlbutton1}]
xmlbuttonkeycombo:Insert[${vxmlbutton2}]
xmlbuttonkeycombo:Insert[${vxmlbutton3}]
xmlbuttonkeycombo:Insert[${vxmlbutton4}]
xmlbuttonkeycombo:Insert[${vxmlbutton5}]
xmlbuttonkeycombo:Insert[${vxmlbutton6}]
xmlbuttonkeycombo:Insert[${vxmlbutton7}]
xmlbuttonkeycombo:Insert[${vxmlbutton8}]
xmlbuttonkeycombo:Insert[${vxmlbutton9}]
xmlbuttonkeycombo:Insert[${vxmlbutton10}]
xmlbuttonkeycombo:Insert[${vxmlbutton11}]
xmlbuttonkeycombo:Insert[${vxmlbutton12}]
xmlbuttonkeycombo:Insert[${vxmlbutton13}]
xmlbuttonkeycombo:Insert[${vxmlbutton14}]
xmlbuttonkeycombo:Insert[${vxmlbutton15}]
xmlbuttonkeycombo:Insert[${vxmlbutton16}]
xmlbuttonkeycombo:Insert[${vxmlbutton17}]
xmlbuttonkeycombo:Insert[${vxmlbutton18}]
xmlbuttonkeycombo:Insert[${vxmlbutton19}]
xmlbuttonkeycombo:Insert[${vxmlbutton20}]
xmlbuttonkeycombo:Insert[${vxmlbutton21}]
xmlbuttonkeycombo:Insert[${vxmlbutton22}]
xmlbuttonkeycombo:Insert[${vxmlbutton23}]
xmlbuttonkeycombo:Insert[${vxmlbutton24}]
xmlbuttonkeycombo:Insert[${vxmlbutton25}]
xmlbuttonkeycombo:Insert[${vxmlbutton26}]
xmlbuttonkeycombo:Insert[${vxmlbutton27}]
xmlbuttonkeycombo:Insert[${vxmlbutton28}]
xmlbuttonkeycombo2:Insert[${vxmlbutton1a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton2a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton3a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton4a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton5a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton6a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton7a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton8a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton9a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton10a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton11a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton12a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton13a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton14a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton15a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton16a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton17a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton18a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton19a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton20a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton21a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton22a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton23a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton24a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton25a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton26a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton27a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton28a}]
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel2:Insert[${uxmlbuttontext1a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext2a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext3a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext4a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext5a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext6a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext7a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext8a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext9a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext10a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext11a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext12a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext13a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext14a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext28a}]
xmlbuttonlabel:Insert[${uxmlbuttontext1}]
xmlbuttonlabel:Insert[${uxmlbuttontext2}]
xmlbuttonlabel:Insert[${uxmlbuttontext3}]
xmlbuttonlabel:Insert[${uxmlbuttontext4}]
xmlbuttonlabel:Insert[${uxmlbuttontext5}]
xmlbuttonlabel:Insert[${uxmlbuttontext6}]
xmlbuttonlabel:Insert[${uxmlbuttontext7}]
xmlbuttonlabel:Insert[${uxmlbuttontext8}]
xmlbuttonlabel:Insert[${uxmlbuttontext9}]
xmlbuttonlabel:Insert[${uxmlbuttontext10}]
xmlbuttonlabel:Insert[${uxmlbuttontext11}]
xmlbuttonlabel:Insert[${uxmlbuttontext12}]
xmlbuttonlabel:Insert[${uxmlbuttontext13}]
xmlbuttonlabel:Insert[${uxmlbuttontext14}]
xmlbuttonlabel:Insert[${uxmlbuttontext15}]
xmlbuttonlabel:Insert[${uxmlbuttontext16}]
xmlbuttonlabel:Insert[${uxmlbuttontext17}]
xmlbuttonlabel:Insert[${uxmlbuttontext18}]
xmlbuttonlabel:Insert[${uxmlbuttontext19}]
xmlbuttonlabel:Insert[${uxmlbuttontext20}]
xmlbuttonlabel:Insert[${uxmlbuttontext21}]
xmlbuttonlabel:Insert[${uxmlbuttontext22}]
xmlbuttonlabel:Insert[${uxmlbuttontext23}]
xmlbuttonlabel:Insert[${uxmlbuttontext24}]
xmlbuttonlabel:Insert[${uxmlbuttontext25}]
xmlbuttonlabel:Insert[${uxmlbuttontext26}]
xmlbuttonlabel:Insert[${uxmlbuttontext27}]
xmlbuttonlabel:Insert[${uxmlbuttontext28}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttonnumber2:Insert[xmlbutton1a]
xmlbuttonnumber2:Insert[xmlbutton2a]
xmlbuttonnumber2:Insert[xmlbutton3a]
xmlbuttonnumber2:Insert[xmlbutton4a]
xmlbuttonnumber2:Insert[xmlbutton5a]
xmlbuttonnumber2:Insert[xmlbutton6a]
xmlbuttonnumber2:Insert[xmlbutton7a]
xmlbuttonnumber2:Insert[xmlbutton8a]
xmlbuttonnumber2:Insert[xmlbutton9a]
xmlbuttonnumber2:Insert[xmlbutton10a]
xmlbuttonnumber2:Insert[xmlbutton11a]
xmlbuttonnumber2:Insert[xmlbutton12a]
xmlbuttonnumber2:Insert[xmlbutton13a]
xmlbuttonnumber2:Insert[xmlbutton14a]
xmlbuttonnumber2:Insert[xmlbutton15a]
xmlbuttonnumber2:Insert[xmlbutton16a]
xmlbuttonnumber2:Insert[xmlbutton17a]
xmlbuttonnumber2:Insert[xmlbutton18a]
xmlbuttonnumber2:Insert[xmlbutton19a]
xmlbuttonnumber2:Insert[xmlbutton20a]
xmlbuttonnumber2:Insert[xmlbutton21a]
xmlbuttonnumber2:Insert[xmlbutton22a]
xmlbuttonnumber2:Insert[xmlbutton23a]
xmlbuttonnumber2:Insert[xmlbutton24a]
xmlbuttonnumber2:Insert[xmlbutton25a]
xmlbuttonnumber2:Insert[xmlbutton26a]
xmlbuttonnumber2:Insert[xmlbutton27a]
xmlbuttonnumber2:Insert[xmlbutton28a]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]
xmlbuttoneqbc99:Insert[mypress1action1]
xmlbuttoneqbc99:Insert[mypress1action2]
xmlbuttoneqbc99:Insert[mypress1action3]
xmlbuttoneqbc99:Insert[mypress1action4]
xmlbuttoneqbc99:Insert[mypress1action5]
xmlbuttoneqbc99:Insert[mypress1action6]
xmlbuttoneqbc99:Insert[mypress1action7]
xmlbuttoneqbc99:Insert[mypress1action8]
xmlbuttoneqbc99:Insert[mypress1action9]
xmlbuttoneqbc99:Insert[mypress1action10]
xmlbuttoneqbc99:Insert[mypress1action11]
xmlbuttoneqbc99:Insert[mypress1action12]
xmlbuttoneqbc99:Insert[mypress1action13]
xmlbuttoneqbc99:Insert[mypress1action14]
xmlbuttoneqbc99:Insert[mypress1action15]
xmlbuttoneqbc99:Insert[mypress1action16]
xmlbuttoneqbc99:Insert[mypress1action17]
xmlbuttoneqbc99:Insert[mypress1action18]
xmlbuttoneqbc99:Insert[mypress1action19]
xmlbuttoneqbc99:Insert[mypress1action20]
xmlbuttoneqbc99:Insert[mypress1action21]
xmlbuttoneqbc99:Insert[mypress1action22]
xmlbuttoneqbc99:Insert[mypress1action23]
xmlbuttoneqbc99:Insert[mypress1action24]
xmlbuttoneqbc99:Insert[mypress1action25]
xmlbuttoneqbc99:Insert[mypress1action26]
xmlbuttoneqbc99:Insert[mypress1action27]
xmlbuttoneqbc99:Insert[mypress1action28]
xmlbuttoneqbc299:Insert[mypress2action1]
xmlbuttoneqbc299:Insert[mypress2action2]
xmlbuttoneqbc299:Insert[mypress2action3]
xmlbuttoneqbc299:Insert[mypress2action4]
xmlbuttoneqbc299:Insert[mypress2action5]
xmlbuttoneqbc299:Insert[mypress2action6]
xmlbuttoneqbc299:Insert[mypress2action7]
xmlbuttoneqbc299:Insert[mypress2action8]
xmlbuttoneqbc299:Insert[mypress2action9]
xmlbuttoneqbc299:Insert[mypress2action10]
xmlbuttoneqbc299:Insert[mypress2action11]
xmlbuttoneqbc299:Insert[mypress2action12]
xmlbuttoneqbc299:Insert[mypress2action13]
xmlbuttoneqbc299:Insert[mypress2action14]
xmlbuttoneqbc299:Insert[mypress2action15]
xmlbuttoneqbc299:Insert[mypress2action16]
xmlbuttoneqbc299:Insert[mypress2action17]
xmlbuttoneqbc299:Insert[mypress2action18]
xmlbuttoneqbc299:Insert[mypress2action19]
xmlbuttoneqbc299:Insert[mypress2action20]
xmlbuttoneqbc299:Insert[mypress2action21]
xmlbuttoneqbc299:Insert[mypress2action22]
xmlbuttoneqbc299:Insert[mypress2action23]
xmlbuttoneqbc299:Insert[mypress2action24]
xmlbuttoneqbc299:Insert[mypress2action25]
xmlbuttoneqbc299:Insert[mypress2action26]
xmlbuttoneqbc299:Insert[mypress2action27]
xmlbuttoneqbc299:Insert[mypress2action28]
xmlbuttonkeycombo99:Insert[vxmlbutton1]
xmlbuttonkeycombo99:Insert[vxmlbutton2]
xmlbuttonkeycombo99:Insert[vxmlbutton3]
xmlbuttonkeycombo99:Insert[vxmlbutton4]
xmlbuttonkeycombo99:Insert[vxmlbutton5]
xmlbuttonkeycombo99:Insert[vxmlbutton6]
xmlbuttonkeycombo99:Insert[vxmlbutton7]
xmlbuttonkeycombo99:Insert[vxmlbutton8]
xmlbuttonkeycombo99:Insert[vxmlbutton9]
xmlbuttonkeycombo99:Insert[vxmlbutton10]
xmlbuttonkeycombo99:Insert[vxmlbutton11]
xmlbuttonkeycombo99:Insert[vxmlbutton12]
xmlbuttonkeycombo99:Insert[vxmlbutton13]
xmlbuttonkeycombo99:Insert[vxmlbutton14]
xmlbuttonkeycombo99:Insert[vxmlbutton15]
xmlbuttonkeycombo99:Insert[vxmlbutton16]
xmlbuttonkeycombo99:Insert[vxmlbutton17]
xmlbuttonkeycombo99:Insert[vxmlbutton18]
xmlbuttonkeycombo99:Insert[vxmlbutton19]
xmlbuttonkeycombo99:Insert[vxmlbutton20]
xmlbuttonkeycombo99:Insert[vxmlbutton21]
xmlbuttonkeycombo99:Insert[vxmlbutton22]
xmlbuttonkeycombo99:Insert[vxmlbutton23]
xmlbuttonkeycombo99:Insert[vxmlbutton24]
xmlbuttonkeycombo99:Insert[vxmlbutton25]
xmlbuttonkeycombo99:Insert[vxmlbutton26]
xmlbuttonkeycombo99:Insert[vxmlbutton27]
xmlbuttonkeycombo99:Insert[vxmlbutton28]
xmlbuttonkeycombo299:Insert[vxmlbutton1a]
xmlbuttonkeycombo299:Insert[vxmlbutton2a]
xmlbuttonkeycombo299:Insert[vxmlbutton3a]
xmlbuttonkeycombo299:Insert[vxmlbutton4a]
xmlbuttonkeycombo299:Insert[vxmlbutton5a]
xmlbuttonkeycombo299:Insert[vxmlbutton6a]
xmlbuttonkeycombo299:Insert[vxmlbutton7a]
xmlbuttonkeycombo299:Insert[vxmlbutton8a]
xmlbuttonkeycombo299:Insert[vxmlbutton9a]
xmlbuttonkeycombo299:Insert[vxmlbutton10a]
xmlbuttonkeycombo299:Insert[vxmlbutton11a]
xmlbuttonkeycombo299:Insert[vxmlbutton12a]
xmlbuttonkeycombo299:Insert[vxmlbutton13a]
xmlbuttonkeycombo299:Insert[vxmlbutton14a]
xmlbuttonkeycombo299:Insert[vxmlbutton15a]
xmlbuttonkeycombo299:Insert[vxmlbutton16a]
xmlbuttonkeycombo299:Insert[vxmlbutton17a]
xmlbuttonkeycombo299:Insert[vxmlbutton18a]
xmlbuttonkeycombo299:Insert[vxmlbutton19a]
xmlbuttonkeycombo299:Insert[vxmlbutton20a]
xmlbuttonkeycombo299:Insert[vxmlbutton21a]
xmlbuttonkeycombo299:Insert[vxmlbutton22a]
xmlbuttonkeycombo299:Insert[vxmlbutton23a]
xmlbuttonkeycombo299:Insert[vxmlbutton24a]
xmlbuttonkeycombo299:Insert[vxmlbutton25a]
xmlbuttonkeycombo299:Insert[vxmlbutton26a]
xmlbuttonkeycombo299:Insert[vxmlbutton27a]
xmlbuttonkeycombo299:Insert[vxmlbutton28a]
xmlmybuttonhide99:Insert[mybuttonhide1]
xmlmybuttonhide99:Insert[mybuttonhide2]
xmlmybuttonhide99:Insert[mybuttonhide3]
xmlmybuttonhide99:Insert[mybuttonhide4]
xmlmybuttonhide99:Insert[mybuttonhide5]
xmlmybuttonhide99:Insert[mybuttonhide6]
xmlmybuttonhide99:Insert[mybuttonhide7]
xmlmybuttonhide99:Insert[mybuttonhide8]
xmlmybuttonhide99:Insert[mybuttonhide9]
xmlmybuttonhide99:Insert[mybuttonhide10]
xmlmybuttonhide99:Insert[mybuttonhide11]
xmlmybuttonhide99:Insert[mybuttonhide12]
xmlmybuttonhide99:Insert[mybuttonhide13]
xmlmybuttonhide99:Insert[mybuttonhide14]
xmlmybuttonhide99:Insert[mybuttonhide15]
xmlmybuttonhide99:Insert[mybuttonhide16]
xmlmybuttonhide99:Insert[mybuttonhide17]
xmlmybuttonhide99:Insert[mybuttonhide18]
xmlmybuttonhide99:Insert[mybuttonhide19]
xmlmybuttonhide99:Insert[mybuttonhide20]
xmlmybuttonhide99:Insert[mybuttonhide21]
xmlmybuttonhide99:Insert[mybuttonhide22]
xmlmybuttonhide99:Insert[mybuttonhide23]
xmlmybuttonhide99:Insert[mybuttonhide24]
xmlmybuttonhide99:Insert[mybuttonhide25]
xmlmybuttonhide99:Insert[mybuttonhide26]
xmlmybuttonhide99:Insert[mybuttonhide27]
xmlmybuttonhide99:Insert[mybuttonhide28]
xmlbuttonlabel299:Insert[uxmlbuttontext1a]
xmlbuttonlabel299:Insert[uxmlbuttontext2a]
xmlbuttonlabel299:Insert[uxmlbuttontext3a]
xmlbuttonlabel299:Insert[uxmlbuttontext4a]
xmlbuttonlabel299:Insert[uxmlbuttontext5a]
xmlbuttonlabel299:Insert[uxmlbuttontext6a]
xmlbuttonlabel299:Insert[uxmlbuttontext7a]
xmlbuttonlabel299:Insert[uxmlbuttontext8a]
xmlbuttonlabel299:Insert[uxmlbuttontext9a]
xmlbuttonlabel299:Insert[uxmlbuttontext10a]
xmlbuttonlabel299:Insert[uxmlbuttontext11a]
xmlbuttonlabel299:Insert[uxmlbuttontext12a]
xmlbuttonlabel299:Insert[uxmlbuttontext13a]
xmlbuttonlabel299:Insert[uxmlbuttontext14a]
xmlbuttonlabel299:Insert[uxmlbuttontext15a]
xmlbuttonlabel299:Insert[uxmlbuttontext16a]
xmlbuttonlabel299:Insert[uxmlbuttontext17a]
xmlbuttonlabel299:Insert[uxmlbuttontext18a]
xmlbuttonlabel299:Insert[uxmlbuttontext19a]
xmlbuttonlabel299:Insert[uxmlbuttontext20a]
xmlbuttonlabel299:Insert[uxmlbuttontext21a]
xmlbuttonlabel299:Insert[uxmlbuttontext22a]
xmlbuttonlabel299:Insert[uxmlbuttontext23a]
xmlbuttonlabel299:Insert[uxmlbuttontext24a]
xmlbuttonlabel299:Insert[uxmlbuttontext25a]
xmlbuttonlabel299:Insert[uxmlbuttontext26a]
xmlbuttonlabel299:Insert[uxmlbuttontext27a]
xmlbuttonlabel299:Insert[uxmlbuttontext28a]
xmlbuttonlabel99:Insert[uxmlbuttontext1]
xmlbuttonlabel99:Insert[uxmlbuttontext2]
xmlbuttonlabel99:Insert[uxmlbuttontext3]
xmlbuttonlabel99:Insert[uxmlbuttontext4]
xmlbuttonlabel99:Insert[uxmlbuttontext5]
xmlbuttonlabel99:Insert[uxmlbuttontext6]
xmlbuttonlabel99:Insert[uxmlbuttontext7]
xmlbuttonlabel99:Insert[uxmlbuttontext8]
xmlbuttonlabel99:Insert[uxmlbuttontext9]
xmlbuttonlabel99:Insert[uxmlbuttontext10]
xmlbuttonlabel99:Insert[uxmlbuttontext11]
xmlbuttonlabel99:Insert[uxmlbuttontext12]
xmlbuttonlabel99:Insert[uxmlbuttontext13]
xmlbuttonlabel99:Insert[uxmlbuttontext14]
xmlbuttonlabel99:Insert[uxmlbuttontext15]
xmlbuttonlabel99:Insert[uxmlbuttontext16]
xmlbuttonlabel99:Insert[uxmlbuttontext17]
xmlbuttonlabel99:Insert[uxmlbuttontext18]
xmlbuttonlabel99:Insert[uxmlbuttontext19]
xmlbuttonlabel99:Insert[uxmlbuttontext20]
xmlbuttonlabel99:Insert[uxmlbuttontext21]
xmlbuttonlabel99:Insert[uxmlbuttontext22]
xmlbuttonlabel99:Insert[uxmlbuttontext23]
xmlbuttonlabel99:Insert[uxmlbuttontext24]
xmlbuttonlabel99:Insert[uxmlbuttontext25]
xmlbuttonlabel99:Insert[uxmlbuttontext26]
xmlbuttonlabel99:Insert[uxmlbuttontext27]
xmlbuttonlabel99:Insert[uxmlbuttontext28]
exmlbuttonnumber99:Insert[exmlbutton1]
exmlbuttonnumber99:Insert[exmlbutton2]
exmlbuttonnumber99:Insert[exmlbutton3]
exmlbuttonnumber99:Insert[exmlbutton4]
exmlbuttonnumber99:Insert[exmlbutton5]
exmlbuttonnumber99:Insert[exmlbutton6]
exmlbuttonnumber99:Insert[exmlbutton7]
exmlbuttonnumber99:Insert[exmlbutton8]
exmlbuttonnumber99:Insert[exmlbutton9]
exmlbuttonnumber99:Insert[exmlbutton10]
exmlbuttonnumber99:Insert[exmlbutton11]
exmlbuttonnumber99:Insert[exmlbutton12]
exmlbuttonnumber99:Insert[exmlbutton13]
exmlbuttonnumber99:Insert[exmlbutton14]
exmlbuttonnumber99:Insert[exmlbutton15]
exmlbuttonnumber99:Insert[exmlbutton16]
exmlbuttonnumber99:Insert[exmlbutton17]
exmlbuttonnumber99:Insert[exmlbutton18]
exmlbuttonnumber99:Insert[exmlbutton19]
exmlbuttonnumber99:Insert[exmlbutton20]
exmlbuttonnumber99:Insert[exmlbutton21]
exmlbuttonnumber99:Insert[exmlbutton22]
exmlbuttonnumber99:Insert[exmlbutton23]
exmlbuttonnumber99:Insert[exmlbutton24]
exmlbuttonnumber99:Insert[exmlbutton25]
exmlbuttonnumber99:Insert[exmlbutton26]
exmlbuttonnumber99:Insert[exmlbutton27]
exmlbuttonnumber99:Insert[exmlbutton28]
xmlbuttoncolory99:Insert[yxmlcolor1]
xmlbuttoncolory99:Insert[yxmlcolor2]
xmlbuttoncolory99:Insert[yxmlcolor3]
xmlbuttoncolory99:Insert[yxmlcolor4]
xmlbuttoncolory99:Insert[yxmlcolor5]
xmlbuttoncolory99:Insert[yxmlcolor6]
xmlbuttoncolory99:Insert[yxmlcolor7]
xmlbuttoncolory99:Insert[yxmlcolor8]
xmlbuttoncolory99:Insert[yxmlcolor9]
xmlbuttoncolory99:Insert[yxmlcolor10]
xmlbuttoncolory99:Insert[yxmlcolor11]
xmlbuttoncolory99:Insert[yxmlcolor12]
xmlbuttoncolory99:Insert[yxmlcolor13]
xmlbuttoncolory99:Insert[yxmlcolor14]
xmlbuttoncolory99:Insert[yxmlcolor15]
xmlbuttoncolory99:Insert[yxmlcolor16]
xmlbuttoncolory99:Insert[yxmlcolor17]
xmlbuttoncolory99:Insert[yxmlcolor18]
xmlbuttoncolory99:Insert[yxmlcolor19]
xmlbuttoncolory99:Insert[yxmlcolor20]
xmlbuttoncolory99:Insert[yxmlcolor21]
xmlbuttoncolory99:Insert[yxmlcolor22]
xmlbuttoncolory99:Insert[yxmlcolor23]
xmlbuttoncolory99:Insert[yxmlcolor24]
xmlbuttoncolory99:Insert[yxmlcolor25]
xmlbuttoncolory99:Insert[yxmlcolor26]
xmlbuttoncolory99:Insert[yxmlcolor27]
xmlbuttoncolory99:Insert[yxmlcolor28]
xmlbuttoncolorz99:Insert[zxmlcolor1]
xmlbuttoncolorz99:Insert[zxmlcolor2]
xmlbuttoncolorz99:Insert[zxmlcolor3]
xmlbuttoncolorz99:Insert[zxmlcolor4]
xmlbuttoncolorz99:Insert[zxmlcolor5]
xmlbuttoncolorz99:Insert[zxmlcolor6]
xmlbuttoncolorz99:Insert[zxmlcolor7]
xmlbuttoncolorz99:Insert[zxmlcolor8]
xmlbuttoncolorz99:Insert[zxmlcolor9]
xmlbuttoncolorz99:Insert[zxmlcolor10]
xmlbuttoncolorz99:Insert[zxmlcolor11]
xmlbuttoncolorz99:Insert[zxmlcolor12]
xmlbuttoncolorz99:Insert[zxmlcolor13]
xmlbuttoncolorz99:Insert[zxmlcolor14]
xmlbuttoncolorz99:Insert[zxmlcolor15]
xmlbuttoncolorz99:Insert[zxmlcolor16]
xmlbuttoncolorz99:Insert[zxmlcolor17]
xmlbuttoncolorz99:Insert[zxmlcolor18]
xmlbuttoncolorz99:Insert[zxmlcolor19]
xmlbuttoncolorz99:Insert[zxmlcolor20]
xmlbuttoncolorz99:Insert[zxmlcolor21]
xmlbuttoncolorz99:Insert[zxmlcolor22]
xmlbuttoncolorz99:Insert[zxmlcolor23]
xmlbuttoncolorz99:Insert[zxmlcolor24]
xmlbuttoncolorz99:Insert[zxmlcolor25]
xmlbuttoncolorz99:Insert[zxmlcolor26]
xmlbuttoncolorz99:Insert[zxmlcolor27]
xmlbuttoncolorz99:Insert[zxmlcolor28]

	MessageBox -yesno "Hide this button?"
	if ${UserInput.Equal["Yes"]}
	{
		${xmlmybuttonhide99.Get[${ibethis}]}:Set[TRUE]
	}
	else
	{
		${xmlmybuttonhide99.Get[${ibethis}]}:Set[FALSE]
	}
	MessageBox -yesno "Configure this button?"
	if ${UserInput.Equal["Yes"]}
	{
		cfgbail:Set[FALSE]
		InputBox "Button Name (Currently: ${xmlbuttonlabel.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttonlabel99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		UI -reload "${MYUIPATH}/eqiscolors.xml"
		InputBox "Button Color (Currently: ${xmlbuttoncolory.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttoncolory99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		UI -unload "${MYUIPATH}/eqiscolors.xml"
		InputBox "Button Key Combination (Currently: ${xmlbuttonkeycombo.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttonkeycombo99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		InputBox "Button MQ2 command (Currently: ${xmlbuttoneqbc.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttoneqbc99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		MessageBox -yesno "Will this button start/stop an action??"
		if ${UserInput.Equal["Yes"]}
		{
			${exmlbuttonnumber99.Get[${ibethis}]}:Set[TRUE]
			InputBox "Button Name (Currently: ${xmlbuttonlabel2.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttonlabel299.Get[${ibethis}]}:Set["${UserInput}"]
			}
			UI -reload "${MYUIPATH}/eqiscolors.xml"
			InputBox "Button Color (Currently: ${xmlbuttoncolorz.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttoncolorz99.Get[${ibethis}]}:Set["${UserInput}"]
			}
			UI -unload "${MYUIPATH}/eqiscolors.xml"
			InputBox "Button Key Combination (Currently:  ${xmlbuttonkeycombo2.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttonkeycombo299.Get[${ibethis}]}:Set["${UserInput}"]
			}
			InputBox "Button MQ2 command (Currently: ${xmlbuttoneqbc2.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttoneqbc299.Get[${ibethis}]}:Set["${UserInput}"]
			}
		}
		else
		{
			${exmlbuttonnumber99.Get[${ibethis}]}:Set[FALSE]
		}
	}
	else
	{
		cfgbail:Set[TRUE]
	}
	return
}

;************************************************************************************************
;configure button/toggle actions for ghost bars
;************************************************************************************************

function gbuttonquery()
{
variable index:string xmlbuttoneqbc
variable index:string xmlbuttoneqbc2
variable index:string xmlbuttonlabel
variable index:string xmlbuttonlabel2
variable index:string xmlbuttonkeycombo
variable index:string xmlbuttonkeycombo2
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:string xmlmybuttonhide
variable index:string xmlbuttoneqbc99
variable index:string xmlbuttoneqbc299
variable index:string xmlbuttonlabel99
variable index:string xmlbuttonlabel299
variable index:string xmlbuttonkeycombo99
variable index:string xmlbuttonkeycombo299
variable index:string xmlbuttonnumber99
variable index:string exmlbuttonnumber99
variable index:string xmlbuttoncolory99
variable index:string xmlbuttoncolorz99
variable index:string xmlmybuttonhide99

xmlbuttoneqbc:Insert[${mypress1action1}]
xmlbuttoneqbc:Insert[${mypress1action2}]
xmlbuttoneqbc:Insert[${mypress1action3}]
xmlbuttoneqbc:Insert[${mypress1action4}]
xmlbuttoneqbc:Insert[${mypress1action5}]
xmlbuttoneqbc:Insert[${mypress1action6}]
xmlbuttoneqbc:Insert[${mypress1action7}]
xmlbuttoneqbc:Insert[${mypress1action8}]
xmlbuttoneqbc:Insert[${mypress1action9}]
xmlbuttoneqbc:Insert[${mypress1action10}]
xmlbuttoneqbc:Insert[${mypress1action11}]
xmlbuttoneqbc:Insert[${mypress1action12}]
xmlbuttoneqbc:Insert[${mypress1action13}]
xmlbuttoneqbc:Insert[${mypress1action14}]
xmlbuttoneqbc:Insert[${mypress1action15}]
xmlbuttoneqbc:Insert[${mypress1action16}]
xmlbuttoneqbc:Insert[${mypress1action17}]
xmlbuttoneqbc:Insert[${mypress1action18}]
xmlbuttoneqbc:Insert[${mypress1action19}]
xmlbuttoneqbc:Insert[${mypress1action20}]
xmlbuttoneqbc:Insert[${mypress1action21}]
xmlbuttoneqbc:Insert[${mypress1action22}]
xmlbuttoneqbc:Insert[${mypress1action23}]
xmlbuttoneqbc:Insert[${mypress1action24}]
xmlbuttoneqbc:Insert[${mypress1action25}]
xmlbuttoneqbc:Insert[${mypress1action26}]
xmlbuttoneqbc:Insert[${mypress1action27}]
xmlbuttoneqbc:Insert[${mypress1action28}]
xmlbuttoneqbc2:Insert[${mypress2action1}]
xmlbuttoneqbc2:Insert[${mypress2action2}]
xmlbuttoneqbc2:Insert[${mypress2action3}]
xmlbuttoneqbc2:Insert[${mypress2action4}]
xmlbuttoneqbc2:Insert[${mypress2action5}]
xmlbuttoneqbc2:Insert[${mypress2action6}]
xmlbuttoneqbc2:Insert[${mypress2action7}]
xmlbuttoneqbc2:Insert[${mypress2action8}]
xmlbuttoneqbc2:Insert[${mypress2action9}]
xmlbuttoneqbc2:Insert[${mypress2action10}]
xmlbuttoneqbc2:Insert[${mypress2action11}]
xmlbuttoneqbc2:Insert[${mypress2action12}]
xmlbuttoneqbc2:Insert[${mypress2action13}]
xmlbuttoneqbc2:Insert[${mypress2action14}]
xmlbuttoneqbc2:Insert[${mypress2action15}]
xmlbuttoneqbc2:Insert[${mypress2action16}]
xmlbuttoneqbc2:Insert[${mypress2action17}]
xmlbuttoneqbc2:Insert[${mypress2action18}]
xmlbuttoneqbc2:Insert[${mypress2action19}]
xmlbuttoneqbc2:Insert[${mypress2action20}]
xmlbuttoneqbc2:Insert[${mypress2action21}]
xmlbuttoneqbc2:Insert[${mypress2action22}]
xmlbuttoneqbc2:Insert[${mypress2action23}]
xmlbuttoneqbc2:Insert[${mypress2action24}]
xmlbuttoneqbc2:Insert[${mypress2action25}]
xmlbuttoneqbc2:Insert[${mypress2action26}]
xmlbuttoneqbc2:Insert[${mypress2action27}]
xmlbuttoneqbc2:Insert[${mypress2action28}]
xmlbuttonkeycombo:Insert[${vxmlbutton1}]
xmlbuttonkeycombo:Insert[${vxmlbutton2}]
xmlbuttonkeycombo:Insert[${vxmlbutton3}]
xmlbuttonkeycombo:Insert[${vxmlbutton4}]
xmlbuttonkeycombo:Insert[${vxmlbutton5}]
xmlbuttonkeycombo:Insert[${vxmlbutton6}]
xmlbuttonkeycombo:Insert[${vxmlbutton7}]
xmlbuttonkeycombo:Insert[${vxmlbutton8}]
xmlbuttonkeycombo:Insert[${vxmlbutton9}]
xmlbuttonkeycombo:Insert[${vxmlbutton10}]
xmlbuttonkeycombo:Insert[${vxmlbutton11}]
xmlbuttonkeycombo:Insert[${vxmlbutton12}]
xmlbuttonkeycombo:Insert[${vxmlbutton13}]
xmlbuttonkeycombo:Insert[${vxmlbutton14}]
xmlbuttonkeycombo:Insert[${vxmlbutton15}]
xmlbuttonkeycombo:Insert[${vxmlbutton16}]
xmlbuttonkeycombo:Insert[${vxmlbutton17}]
xmlbuttonkeycombo:Insert[${vxmlbutton18}]
xmlbuttonkeycombo:Insert[${vxmlbutton19}]
xmlbuttonkeycombo:Insert[${vxmlbutton20}]
xmlbuttonkeycombo:Insert[${vxmlbutton21}]
xmlbuttonkeycombo:Insert[${vxmlbutton22}]
xmlbuttonkeycombo:Insert[${vxmlbutton23}]
xmlbuttonkeycombo:Insert[${vxmlbutton24}]
xmlbuttonkeycombo:Insert[${vxmlbutton25}]
xmlbuttonkeycombo:Insert[${vxmlbutton26}]
xmlbuttonkeycombo:Insert[${vxmlbutton27}]
xmlbuttonkeycombo:Insert[${vxmlbutton28}]
xmlbuttonkeycombo2:Insert[${vxmlbutton1a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton2a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton3a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton4a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton5a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton6a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton7a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton8a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton9a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton10a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton11a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton12a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton13a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton14a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton15a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton16a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton17a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton18a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton19a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton20a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton21a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton22a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton23a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton24a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton25a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton26a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton27a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton28a}]
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel2:Insert[${uxmlbuttontext1a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext2a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext3a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext4a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext5a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext6a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext7a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext8a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext9a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext10a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext11a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext12a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext13a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext14a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext28a}]
xmlbuttonlabel:Insert[${uxmlbuttontext1}]
xmlbuttonlabel:Insert[${uxmlbuttontext2}]
xmlbuttonlabel:Insert[${uxmlbuttontext3}]
xmlbuttonlabel:Insert[${uxmlbuttontext4}]
xmlbuttonlabel:Insert[${uxmlbuttontext5}]
xmlbuttonlabel:Insert[${uxmlbuttontext6}]
xmlbuttonlabel:Insert[${uxmlbuttontext7}]
xmlbuttonlabel:Insert[${uxmlbuttontext8}]
xmlbuttonlabel:Insert[${uxmlbuttontext9}]
xmlbuttonlabel:Insert[${uxmlbuttontext10}]
xmlbuttonlabel:Insert[${uxmlbuttontext11}]
xmlbuttonlabel:Insert[${uxmlbuttontext12}]
xmlbuttonlabel:Insert[${uxmlbuttontext13}]
xmlbuttonlabel:Insert[${uxmlbuttontext14}]
xmlbuttonlabel:Insert[${uxmlbuttontext15}]
xmlbuttonlabel:Insert[${uxmlbuttontext16}]
xmlbuttonlabel:Insert[${uxmlbuttontext17}]
xmlbuttonlabel:Insert[${uxmlbuttontext18}]
xmlbuttonlabel:Insert[${uxmlbuttontext19}]
xmlbuttonlabel:Insert[${uxmlbuttontext20}]
xmlbuttonlabel:Insert[${uxmlbuttontext21}]
xmlbuttonlabel:Insert[${uxmlbuttontext22}]
xmlbuttonlabel:Insert[${uxmlbuttontext23}]
xmlbuttonlabel:Insert[${uxmlbuttontext24}]
xmlbuttonlabel:Insert[${uxmlbuttontext25}]
xmlbuttonlabel:Insert[${uxmlbuttontext26}]
xmlbuttonlabel:Insert[${uxmlbuttontext27}]
xmlbuttonlabel:Insert[${uxmlbuttontext28}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttonnumber2:Insert[xmlbutton1a]
xmlbuttonnumber2:Insert[xmlbutton2a]
xmlbuttonnumber2:Insert[xmlbutton3a]
xmlbuttonnumber2:Insert[xmlbutton4a]
xmlbuttonnumber2:Insert[xmlbutton5a]
xmlbuttonnumber2:Insert[xmlbutton6a]
xmlbuttonnumber2:Insert[xmlbutton7a]
xmlbuttonnumber2:Insert[xmlbutton8a]
xmlbuttonnumber2:Insert[xmlbutton9a]
xmlbuttonnumber2:Insert[xmlbutton10a]
xmlbuttonnumber2:Insert[xmlbutton11a]
xmlbuttonnumber2:Insert[xmlbutton12a]
xmlbuttonnumber2:Insert[xmlbutton13a]
xmlbuttonnumber2:Insert[xmlbutton14a]
xmlbuttonnumber2:Insert[xmlbutton15a]
xmlbuttonnumber2:Insert[xmlbutton16a]
xmlbuttonnumber2:Insert[xmlbutton17a]
xmlbuttonnumber2:Insert[xmlbutton18a]
xmlbuttonnumber2:Insert[xmlbutton19a]
xmlbuttonnumber2:Insert[xmlbutton20a]
xmlbuttonnumber2:Insert[xmlbutton21a]
xmlbuttonnumber2:Insert[xmlbutton22a]
xmlbuttonnumber2:Insert[xmlbutton23a]
xmlbuttonnumber2:Insert[xmlbutton24a]
xmlbuttonnumber2:Insert[xmlbutton25a]
xmlbuttonnumber2:Insert[xmlbutton26a]
xmlbuttonnumber2:Insert[xmlbutton27a]
xmlbuttonnumber2:Insert[xmlbutton28a]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]
xmlbuttoneqbc99:Insert[mypress1action1]
xmlbuttoneqbc99:Insert[mypress1action2]
xmlbuttoneqbc99:Insert[mypress1action3]
xmlbuttoneqbc99:Insert[mypress1action4]
xmlbuttoneqbc99:Insert[mypress1action5]
xmlbuttoneqbc99:Insert[mypress1action6]
xmlbuttoneqbc99:Insert[mypress1action7]
xmlbuttoneqbc99:Insert[mypress1action8]
xmlbuttoneqbc99:Insert[mypress1action9]
xmlbuttoneqbc99:Insert[mypress1action10]
xmlbuttoneqbc99:Insert[mypress1action11]
xmlbuttoneqbc99:Insert[mypress1action12]
xmlbuttoneqbc99:Insert[mypress1action13]
xmlbuttoneqbc99:Insert[mypress1action14]
xmlbuttoneqbc99:Insert[mypress1action15]
xmlbuttoneqbc99:Insert[mypress1action16]
xmlbuttoneqbc99:Insert[mypress1action17]
xmlbuttoneqbc99:Insert[mypress1action18]
xmlbuttoneqbc99:Insert[mypress1action19]
xmlbuttoneqbc99:Insert[mypress1action20]
xmlbuttoneqbc99:Insert[mypress1action21]
xmlbuttoneqbc99:Insert[mypress1action22]
xmlbuttoneqbc99:Insert[mypress1action23]
xmlbuttoneqbc99:Insert[mypress1action24]
xmlbuttoneqbc99:Insert[mypress1action25]
xmlbuttoneqbc99:Insert[mypress1action26]
xmlbuttoneqbc99:Insert[mypress1action27]
xmlbuttoneqbc99:Insert[mypress1action28]
xmlbuttoneqbc299:Insert[mypress2action1]
xmlbuttoneqbc299:Insert[mypress2action2]
xmlbuttoneqbc299:Insert[mypress2action3]
xmlbuttoneqbc299:Insert[mypress2action4]
xmlbuttoneqbc299:Insert[mypress2action5]
xmlbuttoneqbc299:Insert[mypress2action6]
xmlbuttoneqbc299:Insert[mypress2action7]
xmlbuttoneqbc299:Insert[mypress2action8]
xmlbuttoneqbc299:Insert[mypress2action9]
xmlbuttoneqbc299:Insert[mypress2action10]
xmlbuttoneqbc299:Insert[mypress2action11]
xmlbuttoneqbc299:Insert[mypress2action12]
xmlbuttoneqbc299:Insert[mypress2action13]
xmlbuttoneqbc299:Insert[mypress2action14]
xmlbuttoneqbc299:Insert[mypress2action15]
xmlbuttoneqbc299:Insert[mypress2action16]
xmlbuttoneqbc299:Insert[mypress2action17]
xmlbuttoneqbc299:Insert[mypress2action18]
xmlbuttoneqbc299:Insert[mypress2action19]
xmlbuttoneqbc299:Insert[mypress2action20]
xmlbuttoneqbc299:Insert[mypress2action21]
xmlbuttoneqbc299:Insert[mypress2action22]
xmlbuttoneqbc299:Insert[mypress2action23]
xmlbuttoneqbc299:Insert[mypress2action24]
xmlbuttoneqbc299:Insert[mypress2action25]
xmlbuttoneqbc299:Insert[mypress2action26]
xmlbuttoneqbc299:Insert[mypress2action27]
xmlbuttoneqbc299:Insert[mypress2action28]
xmlbuttonkeycombo99:Insert[vxmlbutton1]
xmlbuttonkeycombo99:Insert[vxmlbutton2]
xmlbuttonkeycombo99:Insert[vxmlbutton3]
xmlbuttonkeycombo99:Insert[vxmlbutton4]
xmlbuttonkeycombo99:Insert[vxmlbutton5]
xmlbuttonkeycombo99:Insert[vxmlbutton6]
xmlbuttonkeycombo99:Insert[vxmlbutton7]
xmlbuttonkeycombo99:Insert[vxmlbutton8]
xmlbuttonkeycombo99:Insert[vxmlbutton9]
xmlbuttonkeycombo99:Insert[vxmlbutton10]
xmlbuttonkeycombo99:Insert[vxmlbutton11]
xmlbuttonkeycombo99:Insert[vxmlbutton12]
xmlbuttonkeycombo99:Insert[vxmlbutton13]
xmlbuttonkeycombo99:Insert[vxmlbutton14]
xmlbuttonkeycombo99:Insert[vxmlbutton15]
xmlbuttonkeycombo99:Insert[vxmlbutton16]
xmlbuttonkeycombo99:Insert[vxmlbutton17]
xmlbuttonkeycombo99:Insert[vxmlbutton18]
xmlbuttonkeycombo99:Insert[vxmlbutton19]
xmlbuttonkeycombo99:Insert[vxmlbutton20]
xmlbuttonkeycombo99:Insert[vxmlbutton21]
xmlbuttonkeycombo99:Insert[vxmlbutton22]
xmlbuttonkeycombo99:Insert[vxmlbutton23]
xmlbuttonkeycombo99:Insert[vxmlbutton24]
xmlbuttonkeycombo99:Insert[vxmlbutton25]
xmlbuttonkeycombo99:Insert[vxmlbutton26]
xmlbuttonkeycombo99:Insert[vxmlbutton27]
xmlbuttonkeycombo99:Insert[vxmlbutton28]
xmlbuttonkeycombo299:Insert[vxmlbutton1a]
xmlbuttonkeycombo299:Insert[vxmlbutton2a]
xmlbuttonkeycombo299:Insert[vxmlbutton3a]
xmlbuttonkeycombo299:Insert[vxmlbutton4a]
xmlbuttonkeycombo299:Insert[vxmlbutton5a]
xmlbuttonkeycombo299:Insert[vxmlbutton6a]
xmlbuttonkeycombo299:Insert[vxmlbutton7a]
xmlbuttonkeycombo299:Insert[vxmlbutton8a]
xmlbuttonkeycombo299:Insert[vxmlbutton9a]
xmlbuttonkeycombo299:Insert[vxmlbutton10a]
xmlbuttonkeycombo299:Insert[vxmlbutton11a]
xmlbuttonkeycombo299:Insert[vxmlbutton12a]
xmlbuttonkeycombo299:Insert[vxmlbutton13a]
xmlbuttonkeycombo299:Insert[vxmlbutton14a]
xmlbuttonkeycombo299:Insert[vxmlbutton15a]
xmlbuttonkeycombo299:Insert[vxmlbutton16a]
xmlbuttonkeycombo299:Insert[vxmlbutton17a]
xmlbuttonkeycombo299:Insert[vxmlbutton18a]
xmlbuttonkeycombo299:Insert[vxmlbutton19a]
xmlbuttonkeycombo299:Insert[vxmlbutton20a]
xmlbuttonkeycombo299:Insert[vxmlbutton21a]
xmlbuttonkeycombo299:Insert[vxmlbutton22a]
xmlbuttonkeycombo299:Insert[vxmlbutton23a]
xmlbuttonkeycombo299:Insert[vxmlbutton24a]
xmlbuttonkeycombo299:Insert[vxmlbutton25a]
xmlbuttonkeycombo299:Insert[vxmlbutton26a]
xmlbuttonkeycombo299:Insert[vxmlbutton27a]
xmlbuttonkeycombo299:Insert[vxmlbutton28a]
xmlmybuttonhide99:Insert[mybuttonhide1]
xmlmybuttonhide99:Insert[mybuttonhide2]
xmlmybuttonhide99:Insert[mybuttonhide3]
xmlmybuttonhide99:Insert[mybuttonhide4]
xmlmybuttonhide99:Insert[mybuttonhide5]
xmlmybuttonhide99:Insert[mybuttonhide6]
xmlmybuttonhide99:Insert[mybuttonhide7]
xmlmybuttonhide99:Insert[mybuttonhide8]
xmlmybuttonhide99:Insert[mybuttonhide9]
xmlmybuttonhide99:Insert[mybuttonhide10]
xmlmybuttonhide99:Insert[mybuttonhide11]
xmlmybuttonhide99:Insert[mybuttonhide12]
xmlmybuttonhide99:Insert[mybuttonhide13]
xmlmybuttonhide99:Insert[mybuttonhide14]
xmlmybuttonhide99:Insert[mybuttonhide15]
xmlmybuttonhide99:Insert[mybuttonhide16]
xmlmybuttonhide99:Insert[mybuttonhide17]
xmlmybuttonhide99:Insert[mybuttonhide18]
xmlmybuttonhide99:Insert[mybuttonhide19]
xmlmybuttonhide99:Insert[mybuttonhide20]
xmlmybuttonhide99:Insert[mybuttonhide21]
xmlmybuttonhide99:Insert[mybuttonhide22]
xmlmybuttonhide99:Insert[mybuttonhide23]
xmlmybuttonhide99:Insert[mybuttonhide24]
xmlmybuttonhide99:Insert[mybuttonhide25]
xmlmybuttonhide99:Insert[mybuttonhide26]
xmlmybuttonhide99:Insert[mybuttonhide27]
xmlmybuttonhide99:Insert[mybuttonhide28]
xmlbuttonlabel299:Insert[uxmlbuttontext1a]
xmlbuttonlabel299:Insert[uxmlbuttontext2a]
xmlbuttonlabel299:Insert[uxmlbuttontext3a]
xmlbuttonlabel299:Insert[uxmlbuttontext4a]
xmlbuttonlabel299:Insert[uxmlbuttontext5a]
xmlbuttonlabel299:Insert[uxmlbuttontext6a]
xmlbuttonlabel299:Insert[uxmlbuttontext7a]
xmlbuttonlabel299:Insert[uxmlbuttontext8a]
xmlbuttonlabel299:Insert[uxmlbuttontext9a]
xmlbuttonlabel299:Insert[uxmlbuttontext10a]
xmlbuttonlabel299:Insert[uxmlbuttontext11a]
xmlbuttonlabel299:Insert[uxmlbuttontext12a]
xmlbuttonlabel299:Insert[uxmlbuttontext13a]
xmlbuttonlabel299:Insert[uxmlbuttontext14a]
xmlbuttonlabel299:Insert[uxmlbuttontext15a]
xmlbuttonlabel299:Insert[uxmlbuttontext16a]
xmlbuttonlabel299:Insert[uxmlbuttontext17a]
xmlbuttonlabel299:Insert[uxmlbuttontext18a]
xmlbuttonlabel299:Insert[uxmlbuttontext19a]
xmlbuttonlabel299:Insert[uxmlbuttontext20a]
xmlbuttonlabel299:Insert[uxmlbuttontext21a]
xmlbuttonlabel299:Insert[uxmlbuttontext22a]
xmlbuttonlabel299:Insert[uxmlbuttontext23a]
xmlbuttonlabel299:Insert[uxmlbuttontext24a]
xmlbuttonlabel299:Insert[uxmlbuttontext25a]
xmlbuttonlabel299:Insert[uxmlbuttontext26a]
xmlbuttonlabel299:Insert[uxmlbuttontext27a]
xmlbuttonlabel299:Insert[uxmlbuttontext28a]
xmlbuttonlabel99:Insert[uxmlbuttontext1]
xmlbuttonlabel99:Insert[uxmlbuttontext2]
xmlbuttonlabel99:Insert[uxmlbuttontext3]
xmlbuttonlabel99:Insert[uxmlbuttontext4]
xmlbuttonlabel99:Insert[uxmlbuttontext5]
xmlbuttonlabel99:Insert[uxmlbuttontext6]
xmlbuttonlabel99:Insert[uxmlbuttontext7]
xmlbuttonlabel99:Insert[uxmlbuttontext8]
xmlbuttonlabel99:Insert[uxmlbuttontext9]
xmlbuttonlabel99:Insert[uxmlbuttontext10]
xmlbuttonlabel99:Insert[uxmlbuttontext11]
xmlbuttonlabel99:Insert[uxmlbuttontext12]
xmlbuttonlabel99:Insert[uxmlbuttontext13]
xmlbuttonlabel99:Insert[uxmlbuttontext14]
xmlbuttonlabel99:Insert[uxmlbuttontext15]
xmlbuttonlabel99:Insert[uxmlbuttontext16]
xmlbuttonlabel99:Insert[uxmlbuttontext17]
xmlbuttonlabel99:Insert[uxmlbuttontext18]
xmlbuttonlabel99:Insert[uxmlbuttontext19]
xmlbuttonlabel99:Insert[uxmlbuttontext20]
xmlbuttonlabel99:Insert[uxmlbuttontext21]
xmlbuttonlabel99:Insert[uxmlbuttontext22]
xmlbuttonlabel99:Insert[uxmlbuttontext23]
xmlbuttonlabel99:Insert[uxmlbuttontext24]
xmlbuttonlabel99:Insert[uxmlbuttontext25]
xmlbuttonlabel99:Insert[uxmlbuttontext26]
xmlbuttonlabel99:Insert[uxmlbuttontext27]
xmlbuttonlabel99:Insert[uxmlbuttontext28]
exmlbuttonnumber99:Insert[exmlbutton1]
exmlbuttonnumber99:Insert[exmlbutton2]
exmlbuttonnumber99:Insert[exmlbutton3]
exmlbuttonnumber99:Insert[exmlbutton4]
exmlbuttonnumber99:Insert[exmlbutton5]
exmlbuttonnumber99:Insert[exmlbutton6]
exmlbuttonnumber99:Insert[exmlbutton7]
exmlbuttonnumber99:Insert[exmlbutton8]
exmlbuttonnumber99:Insert[exmlbutton9]
exmlbuttonnumber99:Insert[exmlbutton10]
exmlbuttonnumber99:Insert[exmlbutton11]
exmlbuttonnumber99:Insert[exmlbutton12]
exmlbuttonnumber99:Insert[exmlbutton13]
exmlbuttonnumber99:Insert[exmlbutton14]
exmlbuttonnumber99:Insert[exmlbutton15]
exmlbuttonnumber99:Insert[exmlbutton16]
exmlbuttonnumber99:Insert[exmlbutton17]
exmlbuttonnumber99:Insert[exmlbutton18]
exmlbuttonnumber99:Insert[exmlbutton19]
exmlbuttonnumber99:Insert[exmlbutton20]
exmlbuttonnumber99:Insert[exmlbutton21]
exmlbuttonnumber99:Insert[exmlbutton22]
exmlbuttonnumber99:Insert[exmlbutton23]
exmlbuttonnumber99:Insert[exmlbutton24]
exmlbuttonnumber99:Insert[exmlbutton25]
exmlbuttonnumber99:Insert[exmlbutton26]
exmlbuttonnumber99:Insert[exmlbutton27]
exmlbuttonnumber99:Insert[exmlbutton28]
xmlbuttoncolory99:Insert[yxmlcolor1]
xmlbuttoncolory99:Insert[yxmlcolor2]
xmlbuttoncolory99:Insert[yxmlcolor3]
xmlbuttoncolory99:Insert[yxmlcolor4]
xmlbuttoncolory99:Insert[yxmlcolor5]
xmlbuttoncolory99:Insert[yxmlcolor6]
xmlbuttoncolory99:Insert[yxmlcolor7]
xmlbuttoncolory99:Insert[yxmlcolor8]
xmlbuttoncolory99:Insert[yxmlcolor9]
xmlbuttoncolory99:Insert[yxmlcolor10]
xmlbuttoncolory99:Insert[yxmlcolor11]
xmlbuttoncolory99:Insert[yxmlcolor12]
xmlbuttoncolory99:Insert[yxmlcolor13]
xmlbuttoncolory99:Insert[yxmlcolor14]
xmlbuttoncolory99:Insert[yxmlcolor15]
xmlbuttoncolory99:Insert[yxmlcolor16]
xmlbuttoncolory99:Insert[yxmlcolor17]
xmlbuttoncolory99:Insert[yxmlcolor18]
xmlbuttoncolory99:Insert[yxmlcolor19]
xmlbuttoncolory99:Insert[yxmlcolor20]
xmlbuttoncolory99:Insert[yxmlcolor21]
xmlbuttoncolory99:Insert[yxmlcolor22]
xmlbuttoncolory99:Insert[yxmlcolor23]
xmlbuttoncolory99:Insert[yxmlcolor24]
xmlbuttoncolory99:Insert[yxmlcolor25]
xmlbuttoncolory99:Insert[yxmlcolor26]
xmlbuttoncolory99:Insert[yxmlcolor27]
xmlbuttoncolory99:Insert[yxmlcolor28]
xmlbuttoncolorz99:Insert[zxmlcolor1]
xmlbuttoncolorz99:Insert[zxmlcolor2]
xmlbuttoncolorz99:Insert[zxmlcolor3]
xmlbuttoncolorz99:Insert[zxmlcolor4]
xmlbuttoncolorz99:Insert[zxmlcolor5]
xmlbuttoncolorz99:Insert[zxmlcolor6]
xmlbuttoncolorz99:Insert[zxmlcolor7]
xmlbuttoncolorz99:Insert[zxmlcolor8]
xmlbuttoncolorz99:Insert[zxmlcolor9]
xmlbuttoncolorz99:Insert[zxmlcolor10]
xmlbuttoncolorz99:Insert[zxmlcolor11]
xmlbuttoncolorz99:Insert[zxmlcolor12]
xmlbuttoncolorz99:Insert[zxmlcolor13]
xmlbuttoncolorz99:Insert[zxmlcolor14]
xmlbuttoncolorz99:Insert[zxmlcolor15]
xmlbuttoncolorz99:Insert[zxmlcolor16]
xmlbuttoncolorz99:Insert[zxmlcolor17]
xmlbuttoncolorz99:Insert[zxmlcolor18]
xmlbuttoncolorz99:Insert[zxmlcolor19]
xmlbuttoncolorz99:Insert[zxmlcolor20]
xmlbuttoncolorz99:Insert[zxmlcolor21]
xmlbuttoncolorz99:Insert[zxmlcolor22]
xmlbuttoncolorz99:Insert[zxmlcolor23]
xmlbuttoncolorz99:Insert[zxmlcolor24]
xmlbuttoncolorz99:Insert[zxmlcolor25]
xmlbuttoncolorz99:Insert[zxmlcolor26]
xmlbuttoncolorz99:Insert[zxmlcolor27]
xmlbuttoncolorz99:Insert[zxmlcolor28]

	MessageBox -yesno "Hide this button?"
	if ${UserInput.Equal["Yes"]}
	{
		${xmlmybuttonhide99.Get[${ibethis}]}:Set[TRUE]
	}
	else
	{
		${xmlmybuttonhide99.Get[${ibethis}]}:Set[FALSE]
	}
	MessageBox -yesno "Configure this button?"
	if ${UserInput.Equal["Yes"]}
	{
		cfgbail:Set[FALSE]
		InputBox "Button Name (Currently: ${xmlbuttonlabel.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttonlabel99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		UI -reload "${MYUIPATH}/eqiscolors.xml"
		InputBox "Button Text Color (Currently: ${xmlbuttoncolory.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttoncolory99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		UI -unload "${MYUIPATH}/eqiscolors.xml"
		InputBox "Button Key Combination (Currently: ${xmlbuttonkeycombo.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttonkeycombo99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		InputBox "Button MQ2 command (Currently: ${xmlbuttoneqbc.Get[${ibethis}]})"
		if ${UserInput.NotEqual[NULL]}
		{
			${xmlbuttoneqbc99.Get[${ibethis}]}:Set["${UserInput}"]
		}
		MessageBox -yesno "Will this button start/stop an action??"
		if ${UserInput.Equal["Yes"]}
		{
			${exmlbuttonnumber99.Get[${ibethis}]}:Set[TRUE]
			InputBox "Button Name (Currently: ${xmlbuttonlabel2.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttonlabel299.Get[${ibethis}]}:Set["${UserInput}"]
			}
			UI -reload "${MYUIPATH}/eqiscolors.xml"
			InputBox "Button Text Color (Currently: ${xmlbuttoncolorz.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttoncolorz99.Get[${ibethis}]}:Set["${UserInput}"]
			}
			UI -unload "${MYUIPATH}/eqiscolors.xml"
			InputBox "Button Key Combination (Currently:  ${xmlbuttonkeycombo2.Get[${ibethis}]}})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttonkeycombo299.Get[${ibethis}]}:Set["${UserInput}"]
			}
			InputBox "Button MQ2 command (Currently: ${xmlbuttoneqbc2.Get[${ibethis}]})"
			if ${UserInput.NotEqual[NULL]}
			{
				${xmlbuttoneqbc299.Get[${ibethis}]}:Set["${UserInput}"]
			}
		}
		else
		{
			${exmlbuttonnumber99.Get[${ibethis}]}:Set[FALSE]
		}
	}
	else
	{
		cfgbail:Set[TRUE]
	}
	return
}

;************************************************************************************************
;config writer for MQ2 binds /custombinds
;************************************************************************************************

function makecfg()
{
variable index:string xmlbuttoneqbc
variable index:string xmlbuttoneqbc2
variable index:string xmlbuttonkeycombo
variable index:string xmlbuttonkeycombo2
variable index:string xmlbuttonnumber
variable index:string xmlbuttonnumber2

xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttonnumber2:Insert[xmlbutton1a]
xmlbuttonnumber2:Insert[xmlbutton2a]
xmlbuttonnumber2:Insert[xmlbutton3a]
xmlbuttonnumber2:Insert[xmlbutton4a]
xmlbuttonnumber2:Insert[xmlbutton5a]
xmlbuttonnumber2:Insert[xmlbutton6a]
xmlbuttonnumber2:Insert[xmlbutton7a]
xmlbuttonnumber2:Insert[xmlbutton8a]
xmlbuttonnumber2:Insert[xmlbutton9a]
xmlbuttonnumber2:Insert[xmlbutton10a]
xmlbuttonnumber2:Insert[xmlbutton11a]
xmlbuttonnumber2:Insert[xmlbutton12a]
xmlbuttonnumber2:Insert[xmlbutton13a]
xmlbuttonnumber2:Insert[xmlbutton14a]
xmlbuttonnumber2:Insert[xmlbutton15a]
xmlbuttonnumber2:Insert[xmlbutton16a]
xmlbuttonnumber2:Insert[xmlbutton17a]
xmlbuttonnumber2:Insert[xmlbutton18a]
xmlbuttonnumber2:Insert[xmlbutton19a]
xmlbuttonnumber2:Insert[xmlbutton20a]
xmlbuttonnumber2:Insert[xmlbutton21a]
xmlbuttonnumber2:Insert[xmlbutton22a]
xmlbuttonnumber2:Insert[xmlbutton23a]
xmlbuttonnumber2:Insert[xmlbutton24a]
xmlbuttonnumber2:Insert[xmlbutton25a]
xmlbuttonnumber2:Insert[xmlbutton26a]
xmlbuttonnumber2:Insert[xmlbutton27a]
xmlbuttonnumber2:Insert[xmlbutton28a]
xmlbuttoneqbc:Insert[${mypress1action1}]
xmlbuttoneqbc:Insert[${mypress1action2}]
xmlbuttoneqbc:Insert[${mypress1action3}]
xmlbuttoneqbc:Insert[${mypress1action4}]
xmlbuttoneqbc:Insert[${mypress1action5}]
xmlbuttoneqbc:Insert[${mypress1action6}]
xmlbuttoneqbc:Insert[${mypress1action7}]
xmlbuttoneqbc:Insert[${mypress1action8}]
xmlbuttoneqbc:Insert[${mypress1action9}]
xmlbuttoneqbc:Insert[${mypress1action10}]
xmlbuttoneqbc:Insert[${mypress1action11}]
xmlbuttoneqbc:Insert[${mypress1action12}]
xmlbuttoneqbc:Insert[${mypress1action13}]
xmlbuttoneqbc:Insert[${mypress1action14}]
xmlbuttoneqbc:Insert[${mypress1action15}]
xmlbuttoneqbc:Insert[${mypress1action16}]
xmlbuttoneqbc:Insert[${mypress1action17}]
xmlbuttoneqbc:Insert[${mypress1action18}]
xmlbuttoneqbc:Insert[${mypress1action19}]
xmlbuttoneqbc:Insert[${mypress1action20}]
xmlbuttoneqbc:Insert[${mypress1action21}]
xmlbuttoneqbc:Insert[${mypress1action22}]
xmlbuttoneqbc:Insert[${mypress1action23}]
xmlbuttoneqbc:Insert[${mypress1action24}]
xmlbuttoneqbc:Insert[${mypress1action25}]
xmlbuttoneqbc:Insert[${mypress1action26}]
xmlbuttoneqbc:Insert[${mypress1action27}]
xmlbuttoneqbc:Insert[${mypress1action28}]
xmlbuttoneqbc2:Insert[${mypress2action1}]
xmlbuttoneqbc2:Insert[${mypress2action2}]
xmlbuttoneqbc2:Insert[${mypress2action3}]
xmlbuttoneqbc2:Insert[${mypress2action4}]
xmlbuttoneqbc2:Insert[${mypress2action5}]
xmlbuttoneqbc2:Insert[${mypress2action6}]
xmlbuttoneqbc2:Insert[${mypress2action7}]
xmlbuttoneqbc2:Insert[${mypress2action8}]
xmlbuttoneqbc2:Insert[${mypress2action9}]
xmlbuttoneqbc2:Insert[${mypress2action10}]
xmlbuttoneqbc2:Insert[${mypress2action11}]
xmlbuttoneqbc2:Insert[${mypress2action12}]
xmlbuttoneqbc2:Insert[${mypress2action13}]
xmlbuttoneqbc2:Insert[${mypress2action14}]
xmlbuttoneqbc2:Insert[${mypress2action15}]
xmlbuttoneqbc2:Insert[${mypress2action16}]
xmlbuttoneqbc2:Insert[${mypress2action17}]
xmlbuttoneqbc2:Insert[${mypress2action18}]
xmlbuttoneqbc2:Insert[${mypress2action19}]
xmlbuttoneqbc2:Insert[${mypress2action20}]
xmlbuttoneqbc2:Insert[${mypress2action21}]
xmlbuttoneqbc2:Insert[${mypress2action22}]
xmlbuttoneqbc2:Insert[${mypress2action23}]
xmlbuttoneqbc2:Insert[${mypress2action24}]
xmlbuttoneqbc2:Insert[${mypress2action25}]
xmlbuttoneqbc2:Insert[${mypress2action26}]
xmlbuttoneqbc2:Insert[${mypress2action27}]
xmlbuttoneqbc2:Insert[${mypress2action28}]
xmlbuttonkeycombo:Insert[${vxmlbutton1}]
xmlbuttonkeycombo:Insert[${vxmlbutton2}]
xmlbuttonkeycombo:Insert[${vxmlbutton3}]
xmlbuttonkeycombo:Insert[${vxmlbutton4}]
xmlbuttonkeycombo:Insert[${vxmlbutton5}]
xmlbuttonkeycombo:Insert[${vxmlbutton6}]
xmlbuttonkeycombo:Insert[${vxmlbutton7}]
xmlbuttonkeycombo:Insert[${vxmlbutton8}]
xmlbuttonkeycombo:Insert[${vxmlbutton9}]
xmlbuttonkeycombo:Insert[${vxmlbutton10}]
xmlbuttonkeycombo:Insert[${vxmlbutton11}]
xmlbuttonkeycombo:Insert[${vxmlbutton12}]
xmlbuttonkeycombo:Insert[${vxmlbutton13}]
xmlbuttonkeycombo:Insert[${vxmlbutton14}]
xmlbuttonkeycombo:Insert[${vxmlbutton15}]
xmlbuttonkeycombo:Insert[${vxmlbutton16}]
xmlbuttonkeycombo:Insert[${vxmlbutton17}]
xmlbuttonkeycombo:Insert[${vxmlbutton18}]
xmlbuttonkeycombo:Insert[${vxmlbutton19}]
xmlbuttonkeycombo:Insert[${vxmlbutton20}]
xmlbuttonkeycombo:Insert[${vxmlbutton21}]
xmlbuttonkeycombo:Insert[${vxmlbutton22}]
xmlbuttonkeycombo:Insert[${vxmlbutton23}]
xmlbuttonkeycombo:Insert[${vxmlbutton24}]
xmlbuttonkeycombo:Insert[${vxmlbutton25}]
xmlbuttonkeycombo:Insert[${vxmlbutton26}]
xmlbuttonkeycombo:Insert[${vxmlbutton27}]
xmlbuttonkeycombo:Insert[${vxmlbutton28}]
xmlbuttonkeycombo2:Insert[${vxmlbutton1a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton2a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton3a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton4a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton5a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton6a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton7a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton8a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton9a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton10a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton11a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton12a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton13a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton14a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton15a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton16a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton17a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton18a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton19a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton20a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton21a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton22a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton23a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton24a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton25a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton26a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton27a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton28a}]

	Declare File file c:/y.cfg
	File:Open
	File:Seek[0]
	File:Truncate
	File:Close
	wait 5
	File:Open
	File:SeekEnd
	File:Write[\/custombind delete ${xmlbuttonnumber.Get[${ibethis}]}\n]
	File:Write[\/custombind add ${xmlbuttonnumber.Get[${ibethis}]}\n]
	File:Write[\/custombind set ${xmlbuttonnumber.Get[${ibethis}]} ${xmlbuttoneqbc.Get[${ibethis}]}\n]
	File:Write[\/bind ${xmlbuttonnumber.Get[${ibethis}]} clear\n]
	File:Write[\/bind ${xmlbuttonnumber.Get[${ibethis}]} ${xmlbuttonkeycombo.Get[${ibethis}]}\n]
	if ${xmlbuttoneqbc2.Get[${ibethis}].NotEqual[No command entered]}
	{
		File:Write[\/custombind delete ${xmlbuttonnumber2.Get[${ibethis}]}\n]
		File:Write[\/custombind add ${xmlbuttonnumber2.Get[${ibethis}]}\n]
		File:Write[\/custombind set ${xmlbuttonnumber2.Get[${ibethis}]} ${xmlbuttoneqbc2.Get[${ibethis}]}\n]
		File:Write[\/bind ${xmlbuttonnumber2.Get[${ibethis}]} clear\n]
		File:Write[\/bind ${xmlbuttonnumber2.Get[${ibethis}]} ${xmlbuttonkeycombo2.Get[${ibethis}]}\n]
		File:Close 
	}
	else
	{
		File:Close 
	}
	Type /loadcfg c:/y\n
	wait 5
	return
}

;************************************************************************************************
;toggle refresh state for ghost bar 1
;************************************************************************************************

function setg1togglesonrefresh()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string Txmlbuttonnumber
variable index:bool exmlbuttonnumber
variable index:bool Txmlbuttonstate
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:string xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlbuttonlabel:Insert[${uxmlbuttontext1a}]
xmlbuttonlabel:Insert[${uxmlbuttontext2a}]
xmlbuttonlabel:Insert[${uxmlbuttontext3a}]
xmlbuttonlabel:Insert[${uxmlbuttontext4a}]
xmlbuttonlabel:Insert[${uxmlbuttontext5a}]
xmlbuttonlabel:Insert[${uxmlbuttontext6a}]
xmlbuttonlabel:Insert[${uxmlbuttontext7a}]
xmlbuttonlabel:Insert[${uxmlbuttontext8a}]
xmlbuttonlabel:Insert[${uxmlbuttontext9a}]
xmlbuttonlabel:Insert[${uxmlbuttontext10a}]
xmlbuttonlabel:Insert[${uxmlbuttontext11a}]
xmlbuttonlabel:Insert[${uxmlbuttontext12a}]
xmlbuttonlabel:Insert[${uxmlbuttontext13a}]
xmlbuttonlabel:Insert[${uxmlbuttontext14a}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
exmlbuttonnumber:Insert[${exmlbutton1}]
exmlbuttonnumber:Insert[${exmlbutton2}]
exmlbuttonnumber:Insert[${exmlbutton3}]
exmlbuttonnumber:Insert[${exmlbutton4}]
exmlbuttonnumber:Insert[${exmlbutton5}]
exmlbuttonnumber:Insert[${exmlbutton6}]
exmlbuttonnumber:Insert[${exmlbutton7}]
exmlbuttonnumber:Insert[${exmlbutton8}]
exmlbuttonnumber:Insert[${exmlbutton9}]
exmlbuttonnumber:Insert[${exmlbutton10}]
exmlbuttonnumber:Insert[${exmlbutton11}]
exmlbuttonnumber:Insert[${exmlbutton12}]
exmlbuttonnumber:Insert[${exmlbutton13}]
exmlbuttonnumber:Insert[${exmlbutton14}]
Txmlbuttonstate:Insert[${Txmlbutton1}]
Txmlbuttonstate:Insert[${Txmlbutton2}]
Txmlbuttonstate:Insert[${Txmlbutton3}]
Txmlbuttonstate:Insert[${Txmlbutton4}]
Txmlbuttonstate:Insert[${Txmlbutton5}]
Txmlbuttonstate:Insert[${Txmlbutton6}]
Txmlbuttonstate:Insert[${Txmlbutton7}]
Txmlbuttonstate:Insert[${Txmlbutton8}]
Txmlbuttonstate:Insert[${Txmlbutton9}]
Txmlbuttonstate:Insert[${Txmlbutton10}]
Txmlbuttonstate:Insert[${Txmlbutton11}]
Txmlbuttonstate:Insert[${Txmlbutton12}]
Txmlbuttonstate:Insert[${Txmlbutton13}]
Txmlbuttonstate:Insert[${Txmlbutton14}]
Txmlbuttonnumber:Insert[Txmlbutton1]
Txmlbuttonnumber:Insert[Txmlbutton2]
Txmlbuttonnumber:Insert[Txmlbutton3]
Txmlbuttonnumber:Insert[Txmlbutton4]
Txmlbuttonnumber:Insert[Txmlbutton5]
Txmlbuttonnumber:Insert[Txmlbutton6]
Txmlbuttonnumber:Insert[Txmlbutton7]
Txmlbuttonnumber:Insert[Txmlbutton8]
Txmlbuttonnumber:Insert[Txmlbutton9]
Txmlbuttonnumber:Insert[Txmlbutton10]
Txmlbuttonnumber:Insert[Txmlbutton11]
Txmlbuttonnumber:Insert[Txmlbutton12]
Txmlbuttonnumber:Insert[Txmlbutton13]
Txmlbuttonnumber:Insert[Txmlbutton14]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	if ${exmlbuttonnumber[${Countbuttons}]} == TRUE
		{
		if ${Txmlbuttonstate[${Countbuttons}]} == TRUE
		{
			${Txmlbuttonnumber[${Countbuttons}]}:Set[TRUE]
			UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
			UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolorz[${Countbuttons}]}]
		}
		else
		{
			UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
		}
		}
	}
Return
}

;************************************************************************************************
;toggle refresh state for ghost bar 2
;************************************************************************************************


function setg2togglesonrefresh()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string Txmlbuttonnumber
variable index:bool exmlbuttonnumber
variable index:bool Txmlbuttonstate
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel:Insert[${uxmlbuttontext28a}]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
exmlbuttonnumber:Insert[${exmlbutton15}]
exmlbuttonnumber:Insert[${exmlbutton16}]
exmlbuttonnumber:Insert[${exmlbutton17}]
exmlbuttonnumber:Insert[${exmlbutton18}]
exmlbuttonnumber:Insert[${exmlbutton19}]
exmlbuttonnumber:Insert[${exmlbutton20}]
exmlbuttonnumber:Insert[${exmlbutton21}]
exmlbuttonnumber:Insert[${exmlbutton22}]
exmlbuttonnumber:Insert[${exmlbutton23}]
exmlbuttonnumber:Insert[${exmlbutton24}]
exmlbuttonnumber:Insert[${exmlbutton25}]
exmlbuttonnumber:Insert[${exmlbutton26}]
exmlbuttonnumber:Insert[${exmlbutton27}]
exmlbuttonnumber:Insert[${exmlbutton28}]
Txmlbuttonstate:Insert[${Txmlbutton15}]
Txmlbuttonstate:Insert[${Txmlbutton16}]
Txmlbuttonstate:Insert[${Txmlbutton17}]
Txmlbuttonstate:Insert[${Txmlbutton18}]
Txmlbuttonstate:Insert[${Txmlbutton19}]
Txmlbuttonstate:Insert[${Txmlbutton20}]
Txmlbuttonstate:Insert[${Txmlbutton21}]
Txmlbuttonstate:Insert[${Txmlbutton22}]
Txmlbuttonstate:Insert[${Txmlbutton23}]
Txmlbuttonstate:Insert[${Txmlbutton24}]
Txmlbuttonstate:Insert[${Txmlbutton25}]
Txmlbuttonstate:Insert[${Txmlbutton26}]
Txmlbuttonstate:Insert[${Txmlbutton27}]
Txmlbuttonstate:Insert[${Txmlbutton28}]
Txmlbuttonnumber:Insert[Txmlbutton15]
Txmlbuttonnumber:Insert[Txmlbutton16]
Txmlbuttonnumber:Insert[Txmlbutton17]
Txmlbuttonnumber:Insert[Txmlbutton18]
Txmlbuttonnumber:Insert[Txmlbutton19]
Txmlbuttonnumber:Insert[Txmlbutton20]
Txmlbuttonnumber:Insert[Txmlbutton21]
Txmlbuttonnumber:Insert[Txmlbutton22]
Txmlbuttonnumber:Insert[Txmlbutton23]
Txmlbuttonnumber:Insert[Txmlbutton24]
Txmlbuttonnumber:Insert[Txmlbutton25]
Txmlbuttonnumber:Insert[Txmlbutton26]
Txmlbuttonnumber:Insert[Txmlbutton27]
Txmlbuttonnumber:Insert[Txmlbutton28]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
{
	if ${exmlbuttonnumber[${Countbuttons}]} == TRUE
		{
		if ${Txmlbuttonstate[${Countbuttons}]} == TRUE
		{
			${Txmlbuttonnumber[${Countbuttons}]}:Set[TRUE]
			UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
			UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolorz[${Countbuttons}]}]
		}
		else
		{
			UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
		}
		}
}
Return
}

;************************************************************************************************
;configure buttons on ghost bar 1
;************************************************************************************************

function xmlframe1set()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide1}]
xmlmybuttonhide:Insert[${mybuttonhide2}]
xmlmybuttonhide:Insert[${mybuttonhide3}]
xmlmybuttonhide:Insert[${mybuttonhide4}]
xmlmybuttonhide:Insert[${mybuttonhide5}]
xmlmybuttonhide:Insert[${mybuttonhide6}]
xmlmybuttonhide:Insert[${mybuttonhide7}]
xmlmybuttonhide:Insert[${mybuttonhide8}]
xmlmybuttonhide:Insert[${mybuttonhide9}]
xmlmybuttonhide:Insert[${mybuttonhide10}]
xmlmybuttonhide:Insert[${mybuttonhide11}]
xmlmybuttonhide:Insert[${mybuttonhide12}]
xmlmybuttonhide:Insert[${mybuttonhide13}]
xmlmybuttonhide:Insert[${mybuttonhide14}]
xmlbuttonlabel:Insert[${uxmlbuttontext1}]
xmlbuttonlabel:Insert[${uxmlbuttontext2}]
xmlbuttonlabel:Insert[${uxmlbuttontext3}]
xmlbuttonlabel:Insert[${uxmlbuttontext4}]
xmlbuttonlabel:Insert[${uxmlbuttontext5}]
xmlbuttonlabel:Insert[${uxmlbuttontext6}]
xmlbuttonlabel:Insert[${uxmlbuttontext7}]
xmlbuttonlabel:Insert[${uxmlbuttontext8}]
xmlbuttonlabel:Insert[${uxmlbuttontext9}]
xmlbuttonlabel:Insert[${uxmlbuttontext10}]
xmlbuttonlabel:Insert[${uxmlbuttontext11}]
xmlbuttonlabel:Insert[${uxmlbuttontext12}]
xmlbuttonlabel:Insert[${uxmlbuttontext13}]
xmlbuttonlabel:Insert[${uxmlbuttontext14}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttoncolory:Insert[${yxmlcolor1}]
xmlbuttoncolory:Insert[${yxmlcolor2}]
xmlbuttoncolory:Insert[${yxmlcolor3}]
xmlbuttoncolory:Insert[${yxmlcolor4}]
xmlbuttoncolory:Insert[${yxmlcolor5}]
xmlbuttoncolory:Insert[${yxmlcolor6}]
xmlbuttoncolory:Insert[${yxmlcolor7}]
xmlbuttoncolory:Insert[${yxmlcolor8}]
xmlbuttoncolory:Insert[${yxmlcolor9}]
xmlbuttoncolory:Insert[${yxmlcolor10}]
xmlbuttoncolory:Insert[${yxmlcolor11}]
xmlbuttoncolory:Insert[${yxmlcolor12}]
xmlbuttoncolory:Insert[${yxmlcolor13}]
xmlbuttoncolory:Insert[${yxmlcolor14}]
xmlbuttoncolorz:Insert[${zxmlcolor1}]
xmlbuttoncolorz:Insert[${zxmlcolor2}]
xmlbuttoncolorz:Insert[${zxmlcolor3}]
xmlbuttoncolorz:Insert[${zxmlcolor4}]
xmlbuttoncolorz:Insert[${zxmlcolor5}]
xmlbuttoncolorz:Insert[${zxmlcolor6}]
xmlbuttoncolorz:Insert[${zxmlcolor7}]
xmlbuttoncolorz:Insert[${zxmlcolor8}]
xmlbuttoncolorz:Insert[${zxmlcolor9}]
xmlbuttoncolorz:Insert[${zxmlcolor10}]
xmlbuttoncolorz:Insert[${zxmlcolor11}]
xmlbuttoncolorz:Insert[${zxmlcolor12}]
xmlbuttoncolorz:Insert[${zxmlcolor13}]
xmlbuttoncolorz:Insert[${zxmlcolor14}]

variable int Countbuttons

for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
	UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetName[Arial]
	UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
	if ${xmlmybuttonhide[${Countbuttons}]} == TRUE
		{
			UIElement[ghost1].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:ToggleVisible
		}
	}
Return
}

;************************************************************************************************
;Configure buttons on ghost bar 2
;************************************************************************************************

function xmlframe2set()
{
variable index:string xmlbuttonlabel
variable index:string xmlbuttonnumber
variable index:string xmlbuttoncolory
variable index:string xmlbuttoncolorz
variable index:bool xmlmybuttonhide
xmlmybuttonhide:Insert[${mybuttonhide15}]
xmlmybuttonhide:Insert[${mybuttonhide16}]
xmlmybuttonhide:Insert[${mybuttonhide17}]
xmlmybuttonhide:Insert[${mybuttonhide18}]
xmlmybuttonhide:Insert[${mybuttonhide19}]
xmlmybuttonhide:Insert[${mybuttonhide20}]
xmlmybuttonhide:Insert[${mybuttonhide21}]
xmlmybuttonhide:Insert[${mybuttonhide22}]
xmlmybuttonhide:Insert[${mybuttonhide23}]
xmlmybuttonhide:Insert[${mybuttonhide24}]
xmlmybuttonhide:Insert[${mybuttonhide25}]
xmlmybuttonhide:Insert[${mybuttonhide26}]
xmlmybuttonhide:Insert[${mybuttonhide27}]
xmlmybuttonhide:Insert[${mybuttonhide28}]
xmlbuttonlabel:Insert[${uxmlbuttontext15}]
xmlbuttonlabel:Insert[${uxmlbuttontext16}]
xmlbuttonlabel:Insert[${uxmlbuttontext17}]
xmlbuttonlabel:Insert[${uxmlbuttontext18}]
xmlbuttonlabel:Insert[${uxmlbuttontext19}]
xmlbuttonlabel:Insert[${uxmlbuttontext20}]
xmlbuttonlabel:Insert[${uxmlbuttontext21}]
xmlbuttonlabel:Insert[${uxmlbuttontext22}]
xmlbuttonlabel:Insert[${uxmlbuttontext23}]
xmlbuttonlabel:Insert[${uxmlbuttontext24}]
xmlbuttonlabel:Insert[${uxmlbuttontext25}]
xmlbuttonlabel:Insert[${uxmlbuttontext26}]
xmlbuttonlabel:Insert[${uxmlbuttontext27}]
xmlbuttonlabel:Insert[${uxmlbuttontext28}]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttoncolory:Insert[${yxmlcolor15}]
xmlbuttoncolory:Insert[${yxmlcolor16}]
xmlbuttoncolory:Insert[${yxmlcolor17}]
xmlbuttoncolory:Insert[${yxmlcolor18}]
xmlbuttoncolory:Insert[${yxmlcolor19}]
xmlbuttoncolory:Insert[${yxmlcolor20}]
xmlbuttoncolory:Insert[${yxmlcolor21}]
xmlbuttoncolory:Insert[${yxmlcolor22}]
xmlbuttoncolory:Insert[${yxmlcolor23}]
xmlbuttoncolory:Insert[${yxmlcolor24}]
xmlbuttoncolory:Insert[${yxmlcolor25}]
xmlbuttoncolory:Insert[${yxmlcolor26}]
xmlbuttoncolory:Insert[${yxmlcolor27}]
xmlbuttoncolory:Insert[${yxmlcolor28}]
xmlbuttoncolorz:Insert[${zxmlcolor15}]
xmlbuttoncolorz:Insert[${zxmlcolor16}]
xmlbuttoncolorz:Insert[${zxmlcolor17}]
xmlbuttoncolorz:Insert[${zxmlcolor18}]
xmlbuttoncolorz:Insert[${zxmlcolor19}]
xmlbuttoncolorz:Insert[${zxmlcolor20}]
xmlbuttoncolorz:Insert[${zxmlcolor21}]
xmlbuttoncolorz:Insert[${zxmlcolor22}]
xmlbuttoncolorz:Insert[${zxmlcolor23}]
xmlbuttoncolorz:Insert[${zxmlcolor24}]
xmlbuttoncolorz:Insert[${zxmlcolor25}]
xmlbuttoncolorz:Insert[${zxmlcolor26}]
xmlbuttoncolorz:Insert[${zxmlcolor27}]
xmlbuttoncolorz:Insert[${zxmlcolor28}]

variable int Countbuttons
for (Countbuttons:Set[0] ; ${Countbuttons}<=14 ; Countbuttons:Inc)
	{
	UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:SetText[${xmlbuttonlabel[${Countbuttons}]}]
	UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetHeight[${xmlfontheight}]
	UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetName[Arial]
	UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}].Font:SetColor[${xmlbuttoncolory[${Countbuttons}]}]
	if ${xmlmybuttonhide[${Countbuttons}]} == TRUE
	{
		UIElement[ghost2].FindChild[${xmlbuttonnumber[${Countbuttons}]}]:ToggleVisible
	}
	}
Return
}

;************************************************************************************************
;dump button configuration to a text file then open with notepad
;************************************************************************************************

function dumpcfg()
{
variable index:string xmlbuttoneqbc
variable index:string xmlbuttoneqbc2
variable index:string xmlbuttonkeycombo
variable index:string xmlbuttonkeycombo2
variable index:string xmlbuttonnumber
variable index:string xmlbuttonnumber2
variable index:string xmlbuttonlabel
variable index:string xmlbuttonlabel2
xmlbuttonlabel:Insert[${uxmlbuttontext1}]
xmlbuttonlabel:Insert[${uxmlbuttontext2}]
xmlbuttonlabel:Insert[${uxmlbuttontext3}]
xmlbuttonlabel:Insert[${uxmlbuttontext4}]
xmlbuttonlabel:Insert[${uxmlbuttontext5}]
xmlbuttonlabel:Insert[${uxmlbuttontext6}]
xmlbuttonlabel:Insert[${uxmlbuttontext7}]
xmlbuttonlabel:Insert[${uxmlbuttontext8}]
xmlbuttonlabel:Insert[${uxmlbuttontext9}]
xmlbuttonlabel:Insert[${uxmlbuttontext10}]
xmlbuttonlabel:Insert[${uxmlbuttontext11}]
xmlbuttonlabel:Insert[${uxmlbuttontext12}]
xmlbuttonlabel:Insert[${uxmlbuttontext13}]
xmlbuttonlabel:Insert[${uxmlbuttontext14}]
xmlbuttonlabel:Insert[${uxmlbuttontext15}]
xmlbuttonlabel:Insert[${uxmlbuttontext16}]
xmlbuttonlabel:Insert[${uxmlbuttontext17}]
xmlbuttonlabel:Insert[${uxmlbuttontext18}]
xmlbuttonlabel:Insert[${uxmlbuttontext19}]
xmlbuttonlabel:Insert[${uxmlbuttontext20}]
xmlbuttonlabel:Insert[${uxmlbuttontext21}]
xmlbuttonlabel:Insert[${uxmlbuttontext22}]
xmlbuttonlabel:Insert[${uxmlbuttontext23}]
xmlbuttonlabel:Insert[${uxmlbuttontext24}]
xmlbuttonlabel:Insert[${uxmlbuttontext25}]
xmlbuttonlabel:Insert[${uxmlbuttontext26}]
xmlbuttonlabel:Insert[${uxmlbuttontext27}]
xmlbuttonlabel:Insert[${uxmlbuttontext28}]
xmlbuttonlabel2:Insert[${uxmlbuttontext1a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext2a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext3a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext4a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext5a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext6a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext7a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext8a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext9a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext10a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext11a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext12a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext13a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext14a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext15a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext16a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext17a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext18a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext19a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext20a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext21a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext22a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext23a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext24a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext25a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext26a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext27a}]
xmlbuttonlabel2:Insert[${uxmlbuttontext28a}]
xmlbuttonnumber:Insert[xmlbutton1]
xmlbuttonnumber:Insert[xmlbutton2]
xmlbuttonnumber:Insert[xmlbutton3]
xmlbuttonnumber:Insert[xmlbutton4]
xmlbuttonnumber:Insert[xmlbutton5]
xmlbuttonnumber:Insert[xmlbutton6]
xmlbuttonnumber:Insert[xmlbutton7]
xmlbuttonnumber:Insert[xmlbutton8]
xmlbuttonnumber:Insert[xmlbutton9]
xmlbuttonnumber:Insert[xmlbutton10]
xmlbuttonnumber:Insert[xmlbutton11]
xmlbuttonnumber:Insert[xmlbutton12]
xmlbuttonnumber:Insert[xmlbutton13]
xmlbuttonnumber:Insert[xmlbutton14]
xmlbuttonnumber:Insert[xmlbutton15]
xmlbuttonnumber:Insert[xmlbutton16]
xmlbuttonnumber:Insert[xmlbutton17]
xmlbuttonnumber:Insert[xmlbutton18]
xmlbuttonnumber:Insert[xmlbutton19]
xmlbuttonnumber:Insert[xmlbutton20]
xmlbuttonnumber:Insert[xmlbutton21]
xmlbuttonnumber:Insert[xmlbutton22]
xmlbuttonnumber:Insert[xmlbutton23]
xmlbuttonnumber:Insert[xmlbutton24]
xmlbuttonnumber:Insert[xmlbutton25]
xmlbuttonnumber:Insert[xmlbutton26]
xmlbuttonnumber:Insert[xmlbutton27]
xmlbuttonnumber:Insert[xmlbutton28]
xmlbuttonnumber2:Insert[xmlbutton1a]
xmlbuttonnumber2:Insert[xmlbutton2a]
xmlbuttonnumber2:Insert[xmlbutton3a]
xmlbuttonnumber2:Insert[xmlbutton4a]
xmlbuttonnumber2:Insert[xmlbutton5a]
xmlbuttonnumber2:Insert[xmlbutton6a]
xmlbuttonnumber2:Insert[xmlbutton7a]
xmlbuttonnumber2:Insert[xmlbutton8a]
xmlbuttonnumber2:Insert[xmlbutton9a]
xmlbuttonnumber2:Insert[xmlbutton10a]
xmlbuttonnumber2:Insert[xmlbutton11a]
xmlbuttonnumber2:Insert[xmlbutton12a]
xmlbuttonnumber2:Insert[xmlbutton13a]
xmlbuttonnumber2:Insert[xmlbutton14a]
xmlbuttonnumber2:Insert[xmlbutton15a]
xmlbuttonnumber2:Insert[xmlbutton16a]
xmlbuttonnumber2:Insert[xmlbutton17a]
xmlbuttonnumber2:Insert[xmlbutton18a]
xmlbuttonnumber2:Insert[xmlbutton19a]
xmlbuttonnumber2:Insert[xmlbutton20a]
xmlbuttonnumber2:Insert[xmlbutton21a]
xmlbuttonnumber2:Insert[xmlbutton22a]
xmlbuttonnumber2:Insert[xmlbutton23a]
xmlbuttonnumber2:Insert[xmlbutton24a]
xmlbuttonnumber2:Insert[xmlbutton25a]
xmlbuttonnumber2:Insert[xmlbutton26a]
xmlbuttonnumber2:Insert[xmlbutton27a]
xmlbuttonnumber2:Insert[xmlbutton28a]
xmlbuttoneqbc:Insert[${mypress1action1}]
xmlbuttoneqbc:Insert[${mypress1action2}]
xmlbuttoneqbc:Insert[${mypress1action3}]
xmlbuttoneqbc:Insert[${mypress1action4}]
xmlbuttoneqbc:Insert[${mypress1action5}]
xmlbuttoneqbc:Insert[${mypress1action6}]
xmlbuttoneqbc:Insert[${mypress1action7}]
xmlbuttoneqbc:Insert[${mypress1action8}]
xmlbuttoneqbc:Insert[${mypress1action9}]
xmlbuttoneqbc:Insert[${mypress1action10}]
xmlbuttoneqbc:Insert[${mypress1action11}]
xmlbuttoneqbc:Insert[${mypress1action12}]
xmlbuttoneqbc:Insert[${mypress1action13}]
xmlbuttoneqbc:Insert[${mypress1action14}]
xmlbuttoneqbc:Insert[${mypress1action15}]
xmlbuttoneqbc:Insert[${mypress1action16}]
xmlbuttoneqbc:Insert[${mypress1action17}]
xmlbuttoneqbc:Insert[${mypress1action18}]
xmlbuttoneqbc:Insert[${mypress1action19}]
xmlbuttoneqbc:Insert[${mypress1action20}]
xmlbuttoneqbc:Insert[${mypress1action21}]
xmlbuttoneqbc:Insert[${mypress1action22}]
xmlbuttoneqbc:Insert[${mypress1action23}]
xmlbuttoneqbc:Insert[${mypress1action24}]
xmlbuttoneqbc:Insert[${mypress1action25}]
xmlbuttoneqbc:Insert[${mypress1action26}]
xmlbuttoneqbc:Insert[${mypress1action27}]
xmlbuttoneqbc:Insert[${mypress1action28}]
xmlbuttoneqbc2:Insert[${mypress2action1}]
xmlbuttoneqbc2:Insert[${mypress2action2}]
xmlbuttoneqbc2:Insert[${mypress2action3}]
xmlbuttoneqbc2:Insert[${mypress2action4}]
xmlbuttoneqbc2:Insert[${mypress2action5}]
xmlbuttoneqbc2:Insert[${mypress2action6}]
xmlbuttoneqbc2:Insert[${mypress2action7}]
xmlbuttoneqbc2:Insert[${mypress2action8}]
xmlbuttoneqbc2:Insert[${mypress2action9}]
xmlbuttoneqbc2:Insert[${mypress2action10}]
xmlbuttoneqbc2:Insert[${mypress2action11}]
xmlbuttoneqbc2:Insert[${mypress2action12}]
xmlbuttoneqbc2:Insert[${mypress2action13}]
xmlbuttoneqbc2:Insert[${mypress2action14}]
xmlbuttoneqbc2:Insert[${mypress2action15}]
xmlbuttoneqbc2:Insert[${mypress2action16}]
xmlbuttoneqbc2:Insert[${mypress2action17}]
xmlbuttoneqbc2:Insert[${mypress2action18}]
xmlbuttoneqbc2:Insert[${mypress2action19}]
xmlbuttoneqbc2:Insert[${mypress2action20}]
xmlbuttoneqbc2:Insert[${mypress2action21}]
xmlbuttoneqbc2:Insert[${mypress2action22}]
xmlbuttoneqbc2:Insert[${mypress2action23}]
xmlbuttoneqbc2:Insert[${mypress2action24}]
xmlbuttoneqbc2:Insert[${mypress2action25}]
xmlbuttoneqbc2:Insert[${mypress2action26}]
xmlbuttoneqbc2:Insert[${mypress2action27}]
xmlbuttoneqbc2:Insert[${mypress2action28}]
xmlbuttonkeycombo:Insert[${vxmlbutton1}]
xmlbuttonkeycombo:Insert[${vxmlbutton2}]
xmlbuttonkeycombo:Insert[${vxmlbutton3}]
xmlbuttonkeycombo:Insert[${vxmlbutton4}]
xmlbuttonkeycombo:Insert[${vxmlbutton5}]
xmlbuttonkeycombo:Insert[${vxmlbutton6}]
xmlbuttonkeycombo:Insert[${vxmlbutton7}]
xmlbuttonkeycombo:Insert[${vxmlbutton8}]
xmlbuttonkeycombo:Insert[${vxmlbutton9}]
xmlbuttonkeycombo:Insert[${vxmlbutton10}]
xmlbuttonkeycombo:Insert[${vxmlbutton11}]
xmlbuttonkeycombo:Insert[${vxmlbutton12}]
xmlbuttonkeycombo:Insert[${vxmlbutton13}]
xmlbuttonkeycombo:Insert[${vxmlbutton14}]
xmlbuttonkeycombo:Insert[${vxmlbutton15}]
xmlbuttonkeycombo:Insert[${vxmlbutton16}]
xmlbuttonkeycombo:Insert[${vxmlbutton17}]
xmlbuttonkeycombo:Insert[${vxmlbutton18}]
xmlbuttonkeycombo:Insert[${vxmlbutton19}]
xmlbuttonkeycombo:Insert[${vxmlbutton20}]
xmlbuttonkeycombo:Insert[${vxmlbutton21}]
xmlbuttonkeycombo:Insert[${vxmlbutton22}]
xmlbuttonkeycombo:Insert[${vxmlbutton23}]
xmlbuttonkeycombo:Insert[${vxmlbutton24}]
xmlbuttonkeycombo:Insert[${vxmlbutton25}]
xmlbuttonkeycombo:Insert[${vxmlbutton26}]
xmlbuttonkeycombo:Insert[${vxmlbutton27}]
xmlbuttonkeycombo:Insert[${vxmlbutton28}]
xmlbuttonkeycombo2:Insert[${vxmlbutton1a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton2a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton3a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton4a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton5a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton6a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton7a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton8a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton9a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton10a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton11a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton12a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton13a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton14a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton15a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton16a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton17a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton18a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton19a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton20a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton21a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton22a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton23a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton24a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton25a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton26a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton27a}]
xmlbuttonkeycombo2:Insert[${vxmlbutton28a}]

variable int Countbuttons
Declare CFGFile file c:/mybuttonconfig.txt
CFGFile:Open
CFGFile:Seek[0]
CFGFile:Truncate
CFGFile:Close
wait 5

for (Countbuttons:Set[1] ; ${Countbuttons}<=28 ; Countbuttons:Inc)
	{
		CFGFile:Open
		CFGFile:SeekEnd
		CFGFile:Write[\[${xmlbuttonnumber.Get[${Countbuttons}]}\] Primary Button Config\r\n]
		CFGFile:Write[=============================================================================\r\n]
		CFGFile:Write[Button Label: ${xmlbuttonlabel.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[Button Key Combo: ${xmlbuttonkeycombo.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[MQ2 Command String:\r\n]
		CFGFile:Write[\/custombind add ${xmlbuttonnumber.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[\/custombind set ${xmlbuttonnumber.Get[${Countbuttons}]} ${xmlbuttoneqbc.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[\/bind ${xmlbuttonnumber.Get[${Countbuttons}]} clear\r\n]
		CFGFile:Write[\/bind ${xmlbuttonnumber.Get[${Countbuttons}]} ${xmlbuttonkeycombo.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[=============================================================================\r\n]
		CFGFile:Write[\[${xmlbuttonnumber2.Get[${Countbuttons}]}\] Toggle Button Config\r\n]
		CFGFile:Write[=============================================================================\r\n]
		CFGFile:Write[Button Label: ${xmlbuttonlabel2.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[Button Key Combo: ${xmlbuttonkeycombo2.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[MQ2 Command String:\r\n]
		CFGFile:Write[\/custombind add ${xmlbuttonnumber2.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[\/custombind set ${xmlbuttonnumber2.Get[${Countbuttons}]} ${xmlbuttoneqbc2.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[\/bind ${xmlbuttonnumber2.Get[${Countbuttons}]} clear\r\n]
		CFGFile:Write[\/bind ${xmlbuttonnumber2.Get[${Countbuttons}]} ${xmlbuttonkeycombo2.Get[${Countbuttons}]}\r\n]
		CFGFile:Write[=============================================================================\r\n]
		CFGFile:Close 
	}
	OSExecute ${mytexteditor}
	wait 20
	OSExecute c:/mybuttonconfig.txt
return
}

;************************************************************************************************
;Websearch function
;************************************************************************************************

function openweb(string myweb)
{
	if ${myweb.Equal[NULL]}
	{
		wait 1
	}
	else
	{
		OSExecute www.mmobugs.com/wiki/index.php/${myweb}
	}
}

function websearch(string mysearch)
{
	if ${mysearch.Equal[NULL]}
	{
		wait 1
	}
	else
	{
		OSExecute www.mmobugs.com/wiki/index.php/Special:Search?search=${mysearch}&go=Go
		OSExecute http://www.macroquest2.com/wiki/index.php/Special:Search?search=${mysearch}&go=Go
	}
}

;************************************************************************************************
;Mouse x/y loc movement for ghost bars positioning
;************************************************************************************************

function movetomouse(int barnumber)
{
variable int mycurrentx
variable int mycurrenty
variable string lockit=NULL

	do
	{
		echo And We Are Moving
		UIElement[ghost${barnumber}]:SetX[${Mouse.X}]
		UIElement[ghost${barnumber}]:SetY[${Mouse.Y}]
		mycurrentx:Set[${Mouse.X}]
		mycurrenty:Set[${Mouse.Y}]
	}
	while ${lockit.Equal[NULL]}
	echo And We Stopped
	return
}
